Then I should see the webflow form success message

Assert the Webflow form's success state (.w-form-done) is (or is not) visible, shown after a successful AJAX-style submission.

Examples

Then I should see the webflow form success message
Then I should see the webflow form success state
And we should see the form success message
Then should not see the webflow form success message
And I should see the form success state

Pattern

Then(/^(I |we )*should( not)* see the (?:webflow )?form success (?:message|state)$/, …)

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