Sha256: 67b8c0bb78aa3c412e52cc8b37e78e987c275ef8888dbedf707601481f3f1bec
Contents?: true
Size: 1.3 KB
Versions: 4
Compression:
Stored size: 1.3 KB
Contents
@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
4 entries across 4 versions & 1 rubygems