We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c0a748d + 796dcb0 commit b6963bbCopy full SHA for b6963bb
bin/accessibility-automation/cypress/index.js
@@ -333,6 +333,8 @@ afterEach(() => {
333
let filePath = '';
334
if (attributes.invocationDetails !== undefined && attributes.invocationDetails.relativeFile !== undefined) {
335
filePath = attributes.invocationDetails.relativeFile;
336
+ } else if (attributes.prevAttempts && attributes.prevAttempts.length > 0) {
337
+ filePath = (attributes.prevAttempts[0].invocationDetails && attributes.prevAttempts[0].invocationDetails.relativeFile) || '';
338
}
339
const payloadToSend = {
340
"saveResults": shouldScanTestForAccessibility,
0 commit comments