Then the "Email" field should show the message "Type an address like name@example.com."

A field shows a message: the text it points at (aria-describedby, aria-errormessage), or a text of its block that the page shows for it (often with uk-text-danger). The text is a part of the message, compared without regard to letter case and white space.

Examples

Then the "Email" field should show the message "Type an address like name@example.com."
Then the "Email" field should show the feedback "Type an address like"
Then the "Email" field should show the message "name@example.com"
And the "Email" field should show the message "Type an address"
Then the "Email" field should show the feedback "like name@example.com."

Pattern

Then(/^the "([^"]*)" field should show the (?:message|feedback) "([^"]*)"$/, …)

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