Skip to content

Commit

Permalink
Provide the test id in the results data for consistency checks.
Browse files Browse the repository at this point in the history
  • Loading branch information
jgraham committed May 26, 2015
1 parent f956953 commit a4fa32b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion wptrunner/testharnessreport-servodriver.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ add_completion_callback(function() {
var test_results = tests.map(function(x) {
return {name:x.name, status:x.status, message:x.message, stack:x.stack}
});
var results = JSON.stringify({tests:test_results,
var id = location.pathname + location.search + location.hash;
var results = JSON.stringify({test: id,
tests:test_results,
status: status.status,
message: status.message,
stack: status.stack});
Expand Down

0 comments on commit a4fa32b

Please sign in to comment.