Skip to content

Commit

Permalink
Fix/fix for cypress 13 (#39)
Browse files Browse the repository at this point in the history
* fix

* temp fix
  • Loading branch information
M4xymS authored Sep 7, 2023
1 parent ee0868d commit 8e7b283
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/components/Cypress/TestData.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ class TestData {

this._error = data.displayError !== undefined && data.displayError !== null ? data.displayError : '';

this._durationMS = 0;
this._durationMS = data.duration;

if (data.attempts !== undefined) {
data.attempts.forEach((attempt) => {
this._durationMS += attempt.wallClockDuration;
});
}
// if (data.attempts !== undefined) {
// data.attempts.forEach((attempt) => {
// this._durationMS += attempt.wallClockDuration;
// });
// }
}

/**
Expand Down

0 comments on commit 8e7b283

Please sign in to comment.