Created
September 23, 2013 18:53
-
-
Save bradgignac/6675126 to your computer and use it in GitHub Desktop.
Testing Server Creation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
it 'can create server' do | |
# Login | |
visit 'https://ui.preprod.rackspace.com' | |
fill_in 'Username', 'this is my username' | |
fill_in 'Password', 'this is my password' | |
# Go to server create page | |
click_link 'Servers' | |
click_link 'Create Server' | |
# Fill in create form | |
fill_in 'Server Name', 'my-test-server' | |
fill_in 'Region', 'HKG' | |
click_button 'Save' | |
# Make a bunch of assertions that the server was created correctly. | |
# Clean up the newly created server. | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment