We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a8da77 commit 9988fd9Copy full SHA for 9988fd9
bin/helpers/reporterHTML.js
@@ -297,11 +297,12 @@ function generateCypressCombinationSpecReportDataWithoutConfigJson(combination){
297
resolve();
298
}
299
resultsJson.tests.forEach((test) => {
300
+ durationKey = utils.isUndefined(test["attempts"]) ? test : test["attempts"].pop()
301
sessionTests.push({
302
name: test["title"].pop(),
303
status: test["state"],
304
duration: parseFloat(
- test["attempts"].pop()["wallClockDuration"] / 1000
305
+ durationKey["wallClockDuration"] / 1000
306
).toFixed(2)
307
})
308
});
0 commit comments