Created
February 1, 2012 06:24
-
-
Save tarun3kumar/1715476 to your computer and use it in GitHub Desktop.
Comprehensible Selenium Tests
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
scenario "Searching restaurant in your Bangalore", { | |
given "the user is on the Google home page", { | |
end_user.is_the_google_home_page() | |
} | |
when "the end user types restaurant in search box", { | |
end_user.searches_for "restaurant" | |
} | |
then "they should location listing for 'BBQ Nation", { | |
end_user.should_see_search_result_page_with_word "BBQ Nation" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment