Skip to content

Commit

Permalink
Merge pull request #12124 from Snuffleupagus/unittest-browser-name
Browse files Browse the repository at this point in the history
Include the browser name when printing unit-test results
  • Loading branch information
timvandermeij authored Jul 26, 2020
2 parents 311ca6e + e4ad91b commit 7ffbda3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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++;
}
Expand Down

0 comments on commit 7ffbda3

Please sign in to comment.