Task: Refused pages of the tests have no debug page 

Description 

In the functional tests, a refused or missing page (4xx) is rendered as in an installation, without the debug page and its stack trace, which took fifteen times as long as the production page. A server error keeps the debug page, so a failing test still shows where it failed.

Impact 

None for installations.