Then the "Email" field should have no error

Assert that a field (found by its label) shows no validation message.

Examples

Then the "Email" field should have no error
Then the "Password" field should have no error
And the "Genre" field should have no error
Then the "Rating" field should have no error
But the "Phone number" field should have no error

Pattern

Then(/^the "([^"]*)" field should have no error$/, …)

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