Then I should see the status message "We have emailed your password reset link."

Assert the status line of the page: the short confirmation an auth page shows above its form after the app did what was asked ("We have emailed your password reset link.", "Your password has been reset."). A text that the page shows as the error of a field fails the step, so a refusal is never taken for a confirmation.

Examples

Then I should see the status message "We have emailed your password reset link."
Then we should see the status message "Your password has been reset."
And I should see the status message "A new verification link has been sent to the email address you provided during registration."
Then I should not see the status message "We have emailed your password reset link."
Then we should not see the status message "Your password has been reset."

Pattern

Then(/^(I |we )*should( not)* see the status message "([^"]*)"$/, …)

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