Then the page should not show debug information

Assert that the page shows no debug information: no stack trace, no Java exception class, no "Caused by:" line, and no message or trace on the default error page. A live app answers an error with a plain error page; a development run (DevTools, or spring.web.error.include-stacktrace=always) prints how the app is built.

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
Then the page should not show debug information

Pattern

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

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