From e4ad91be0571d372884fbc98aa36b4bab4747448 Mon Sep 17 00:00:00 2001 From: Jonas Jenwald Date: Sun, 26 Jul 2020 12:54:16 +0200 Subject: [PATCH] Include the browser name when printing unit-test results This uses a similar format to the reference-test logging, and will help determine in *exactly* which browser the failure occurred (since the tests run concurrently). --- test/test.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/test.js b/test/test.js index 25cecb5df..6a7758195 100644 --- a/test/test.js +++ b/test/test.js @@ -750,7 +750,8 @@ function unitTestPostHandler(req, res) { } var session = getSession(data.browser); session.numRuns++; - var message = data.status + " | " + data.description; + var message = + data.status + " | " + data.description + " | in " + session.name; if (data.status === "TEST-UNEXPECTED-FAIL") { session.numErrors++; }