Logo: Relish

  1. Sign in

Project: Shop

Make Enquiry

As a Parent
I want to make an enquiry
So I can get help and more information

Scenarios
I am presented with confirmation of data I have added
Given
I make an enquiry with email as "[email protected]", name as "fred", message as "fred's message"
When
I submit my enquiry
Then
I get "Enquiry was successfully created"
And
I can see "[email protected]", "fred" and "fred's message" that I entered
Make enquiry
Given
I make an enquiry with email as email, name as name, message as message
When
I submit my enquiry
Then
I get outcome
Examples: Must complete mandatory fields
email name message outcome
"" "" "" "Please review the problems below:"
"" "fred" "fred's message" "Please review the problems below:"
"[email protected]" "" "bob's message" "Please review the problems below:"
"[email protected]" "jane" "" "Please review the problems below:"
"[email protected]" "sam" "sam's message" "Enquiry was successfully created"
Examples: Email address must be a valid format
email name message outcome
"joe" "joe" "joe's message" "Please review the problems below:"
"[email protected]" "fred" "fred's message" "Please review the problems below:"
"[email protected],com" "bob" "bob's message" "Please review the problems below:"
"[email protected]" "jane" "jane's message" "Enquiry was successfully created"

Last published over 4 years ago by mjchave82.