Then I should see the 404 error page

Assert that the browser shows the error page of a status: the page answered with that status, and it is an error page, the app's own or the framework's default one (whose line names the status), not the login page a visitor is sent to.

Examples

Then I should see the 404 error page
Then I should see the 403 error page
And I should see the 500 error page
Then we should see the 404 error page
Then I should not see the 404 error page

Pattern

Then(/^(I |we )*should( not)* see the (\d{3}) error page$/, …)

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