Skip to content

Commit

Permalink
NTR: do not send pending results to testrail
Browse files Browse the repository at this point in the history
  • Loading branch information
boxblinkracer committed Dec 5, 2022
1 parent 331852a commit 2000496
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Reporter.js
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,12 @@ class Reporter {
foundCaseIDs.forEach((caseId) => {
let status = this.statusPassed;

// if we have a pending status, then do not
// send data to testrail
if (testData.getState() === 'pending') {
return;
}

if (testData.getState() !== 'passed') {
status = this.statusFailed;
}
Expand Down

0 comments on commit 2000496

Please sign in to comment.