Then the form should confirm "The contact form has been submitted successfully."

The page's form was sent and replaced by its confirmation message.

Examples

Then the form should confirm "The contact form has been submitted successfully."
And the form should confirm "submitted successfully"
Then the form should confirm "The contact form has been submitted successfully."
Then the form should confirm "has been submitted"
And the form should confirm "The contact form has been submitted successfully."

Pattern

Then(/^the form should confirm "([^"]*)"$/, …)

Part of @webship-js/payload-steps (github.com/webship/payload-steps), a step pack for Webship-js 2.0.x.