If a test fails with an assertion failure or exception, its content along with traceback is displayed in pytest output. This information should be preserved in the test-specific logger for a given system test to make it easier to debug test failures.