The app turned the last form a step of the pack sent down, and says why: its answer was a refusal (4xx), or the page shows an alert (role="alert"); the message given is in the alert (from its start, without regard to case), or in the refusal's answer.
Examples
Then the form should have been turned down with "Your message needs at least 10 characters."
Then the form should have been turned down with "Your name is required."
And the form should have been turned down with "Wrong email or password"
Then the form should have been turned down with "Your message needs"
Then the form should have been turned down with "This field is required"
Pattern
Then(/^the form should have been turned down with "([^"]*)"$/, …)
Part of @webship-js/vue-steps (github.com/webship/vue-steps), a step pack for Webship-js 2.0.x.