Then I should see the default error page

Assert that the browser shows, or does not show, the framework's default error page: "Whitelabel Error Page", what an app without an error page of its own answers an error with. An app with its own error page (templates/error.html, or error/<status>.html) never shows it.

Examples

Then I should see the default error page
Then I should not see the default error page
And we should see the default error page
But I should not see the default error page
Then we should not see the default error page

Pattern

Then(/^(I |we )*should( not)* see the default error page$/, …)

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