Sha256: a4cc614e877b9af74d01d2bd4543138d13984f50b8f82dc8e9755ca3d8a2a5e2
Contents?: true
Size: 1.32 KB
Versions: 15
Compression:
Stored size: 1.32 KB
Contents
@refinerycms @inquiries @inquiries-create Feature: Create Inquiries In order to contact the website owner I want to create an inquiry Background: Given A Refinery user exists And I have no inquiries And I have a page titled "Contact Us" with a custom url "/contact" And I have a page titled "Thank You" with a custom url "/contact/thank_you" Scenario: Contact page When I go to the contact page Then I should see "Name *" And I should see "Email *" And I should see "Phone" And I should see "Message *" Scenario: Create a valid inquiry When I go to the contact page And I fill in "Name *" with "Philip" And I fill in "Email *" with "phil@refinerycms.com" And I fill in "Message *" with "It sure is good to have a functional test coverage." And I press "Send" Then I should be on the contact thank you page And I should see "Thank You" And I should have 1 inquiries Scenario: Create an invalid inquiry When I go to the contact page And I press "Send" Then I should be on the contact create page And I should see "Name can't be blank" And I should not see "Email can't be blank" And I should see "Email is invalid" And I should not see "Phone can't be blank" And I should see "Message can't be blank" And I should have 0 inquiries
Version data entries
15 entries across 15 versions & 2 rubygems