Created
January 18, 2012 17:21
-
-
Save kirkconnell/1634243 to your computer and use it in GitHub Desktop.
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: International Lead | |
#Given I am on the home page | |
#When I follow "International" within the footer | |
#Then I should be on the international page | |
Given I am on the international page | |
When I follow "Germany" | |
Then I should be on the "Germany" international directory page | |
And the spam-protected "Country" field should contain "Germany" | |
When I fill out the spam-protected form within the "main body" section following these instructions: | |
| action | name | value | | |
| fill in | Firm Name | Raelcun | | |
| fill in | Contact Name | Nuclear | | |
| fill in | Phone | 555-444-8982 | | |
| fill in | Email | [email protected] | | |
| fill in | City | Littletown | | |
| fill in | Timeframe | Yesterday? | | |
| fill in | Comments | I like pie | | |
And I press "Send Message" | |
Then I should be on the contact international thank you page | |
And I should see "Your email has been received." | |
And "[email protected]" should receive no email | |
And "[email protected]" should receive an email | |
When they open the email | |
Then they should see "I like pie" in the email body | |
And "[email protected]" should receive an email | |
When they open the email | |
Then they should see "Ancillary Legal Corporation" in the email body |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment