Then the public form should say "Thank you for signing up."

Assert the message the public form shows after it was sent ("Thank you for signing up."), or a part of it.

Examples

Then the public form should say "Thank you for signing up."
Then the public form should say "Thank you"
And the public form should say "Thank you for signing up."
Then the public form should say "signing up"
Then the public form should say "Thank you for your interest."

Pattern

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

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