Skip to content

Commit

Permalink
fix: filename for retries a11y
Browse files Browse the repository at this point in the history
  • Loading branch information
07souravkunda committed Jan 21, 2025
1 parent e3f7ea2 commit 1a10655
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bin/accessibility-automation/cypress/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,8 @@ afterEach(() => {
let filePath = '';
if (attributes.invocationDetails !== undefined && attributes.invocationDetails.relativeFile !== undefined) {
filePath = attributes.invocationDetails.relativeFile;
} else if (attributes.prevAttempts && attributes.prevAttempts.length > 0) {
filePath = attributes.prevAttempts[0].invocationDetails.relativeFile
}
const payloadToSend = {
"saveResults": shouldScanTestForAccessibility,
Expand Down

0 comments on commit 1a10655

Please sign in to comment.