Skip to content

Commit

Permalink
Fixed an issue where test status wasn't reported for parallel runs (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
gravityvi authored Jun 9, 2021
1 parent 872efff commit 961f8b1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/testsuite/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -309,10 +309,10 @@ class TestSuite {
itemKey: process.env.__NIGHTWATCH_ENV_LABEL,
results: this.reporter.exportResults()
}));
} else {
this.client.transport.testSuiteFinished(failures);
this.client.session.finished(failures ? 'FAILED' : '');
}
}
this.client.transport.testSuiteFinished(failures);
this.client.session.finished(failures ? 'FAILED' : '');


return this;
}
Expand Down

0 comments on commit 961f8b1

Please sign in to comment.