Skip to content

Commit 1a10655

Browse files
committed
fix: filename for retries a11y
1 parent e3f7ea2 commit 1a10655

File tree

1 file changed

+2
-0
lines changed
  • bin/accessibility-automation/cypress

1 file changed

+2
-0
lines changed

bin/accessibility-automation/cypress/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -333,6 +333,8 @@ afterEach(() => {
333333
let filePath = '';
334334
if (attributes.invocationDetails !== undefined && attributes.invocationDetails.relativeFile !== undefined) {
335335
filePath = attributes.invocationDetails.relativeFile;
336+
} else if (attributes.prevAttempts && attributes.prevAttempts.length > 0) {
337+
filePath = attributes.prevAttempts[0].invocationDetails.relativeFile
336338
}
337339
const payloadToSend = {
338340
"saveResults": shouldScanTestForAccessibility,

0 commit comments

Comments
 (0)