Assert that the page shows no debug information: not the developer exception page, no exception type, no stack frame, no source file with its line. A live app runs in production, where its error page gives a request ID and nothing of the exception.
Examples
Then the page should not show debug information
And the page should not show debug information
Then the page should not show debug information
But the page should not show debug information
And the page should not show debug information
Pattern
Then(/^the page should not show debug information$/, …)
Part of @webship-js/aspnet-core-steps (github.com/webship/aspnet-core-steps), a step pack for Webship-js 2.0.x.