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).
This commit is contained in:
Jonas Jenwald 2020-07-26 12:54:16 +02:00
parent 311ca6e796
commit e4ad91be05

View File

@ -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++;
}