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 prints the code (the error pages of the app, or the framework's own "Oops! An Error Occurred" page). The debug page of a development app is no error page: see "the page should show debug information".

Examples

Then I should see the 404 error page
Then I should see the 403 error page
And I should see the 405 error page
Then we should see the 500 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/symfony-steps (github.com/webship/symfony-steps), a step pack for Webship-js 2.0.x.