Assert the Squarespace form block shows (or does not show) an error message with exactly this text, such as "Email is required.".
Examples
Then the form should show the error "Email is required."
And the form should show the error "Message is required."
And the form should show the error "First Name is required."
But the form should not show the error "Email is required."
And the form should not show the error "Inquiry is required."
Pattern
Then(/^(?:the )?form should( not)* show the error "([^"]*)"$/, …)
Part of @webship-js/squarespace-steps (github.com/webship/squarespace-steps), a step pack for Webship-js 2.0.x.