Then the page should not show debug information

Assert that the page shows no debug information: no exception class, no backtrace, no source file and line, no runtime version, no class names. A live app answers an error with a plain error page; a debug page shows how the app is built to anybody. "should show" asserts the other side: the debug page of an app that runs in development.

Examples

Then the page should not show debug information
And the page should not show debug information
Then the page should show debug information
But the page should not show debug information
And the page should show debug information

Pattern

Then(/^the page should( not)* show debug information$/, …)

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