Created
April 7, 2010 20:59
-
-
Save danmayer/359450 to your computer and use it in GitHub Desktop.
This file contains 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
browser.open '/' | |
assert_equal 'Hosted Ruby/Rails metrics - Caliper', browser.title | |
assert browser.text?('Recently Generated Metrics') | |
browser.click "css=#projects a:contains('Projects')", :wait_for => :page | |
assert browser.text?('Browse Projects') | |
browser.click "css=#add-project a:contains('Add Project')", :wait_for => :page | |
assert browser.text?('Add Project') | |
browser.type 'repo','git://github.com/sinatra/sinatra.git' | |
browser.click "css=#submit-project", :wait_for => :page | |
assert browser.text?('sinatra/sinatra') | |
browser.wait_for_element "css=#hotspots-summary" | |
assert browser.text?('View full Hot Spots report') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment