diff --git a/product/ERP5Type/tests/runFunctionalTest.py b/product/ERP5Type/tests/runFunctionalTest.py
index 1b2b7175fbabb36a55226c7885ed0a568323b17b..0ad99427ca36acae6900d8b06d0878b2a8a585f2 100755
--- a/product/ERP5Type/tests/runFunctionalTest.py
+++ b/product/ERP5Type/tests/runFunctionalTest.py
@@ -260,6 +260,8 @@ Following tests failed:
     if error_result_re.match(e):
       detail += e
   detail = image_re.sub('', detail)
+  detail = detail.replace('<tr class="title status_failed"', '<tr class="title status_failed" style="background-color:red"')
+  detail = detail.replace('<tr class="status_failed"', '<tr class="status_failed" style="background-color:red"')
   if detail:
     detail = '<html><body>%s</body></html>' % detail
   status = (not failures)