Created
January 5, 2011 04:17
-
-
Save underwhelmed/765918 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
Feature: Contact Form | |
In order to provide feedback | |
As a user | |
I want to contact the website owners online | |
Scenario: Submitting with valid information | |
Given I am on the contact page | |
When I fill in "Name" with "Steve Perry" | |
And I fill in "Email" with "test@example.com" | |
And I fill in "Phone" with "555-555-5555" | |
And I fill in "Message" with "Hey there buddy" | |
And I press "Send" | |
Then I should see "Thanks for your feedback!" | |
And "myemail@example.com" should receive an email | |
When "myemail@example.com" opens the email with subject "Feedback from the website" | |
And I should see "Hey there buddy" in the email body |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment