Merge pull request #12124 from Snuffleupagus/unittest-browser-name

Include the browser name when printing unit-test results
This commit is contained in:
Tim van der Meij 2020-07-26 14:02:25 +02:00 committed by GitHub
commit 7ffbda3396
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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