11 lines
423 B
Gherkin
11 lines
423 B
Gherkin
Feature: Submitting contact form
|
|
Scenario: Website visitor submits contact form
|
|
Given there are standard website pages
|
|
When I visit '/contact'
|
|
And I fill in the website contact form
|
|
And I submit the website contact form
|
|
Then I should be redirected to the homepage
|
|
And a contact form object should be created having the proper data
|
|
And an email should be sent containing the contact form body
|
|
|