Then I should see the status message "Your profile has been updated"

Assert the status message a page shows after it did something ("Your profile has been updated", "Your password has been changed."): the alert of the Manage pages, a dismissible one with a close button, read without the button. A message that ends with a full stop matches with or without it.

Examples

Then I should see the status message "Your profile has been updated"
Then I should see the status message "Your password has been changed."
And we should see the status message "Confirmation link to change email sent. Please check your email."
Then I should see the status message "Your authenticator app has been verified."
And I should see the status message "2fa has been disabled. You can reenable 2fa when you setup an authenticator app"

Pattern

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

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