File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ const Accessibility = (on, config) => {
6262 config . env . WCAG_CRITERIA = process . env . WCAG_CRITERIA ;
6363 config . env . BEST_PRACTICE = process . env . BEST_PRACTICE ;
6464 config . env . NEEDS_REVIEW = process . env . NEEDS_REVIEW ;
65-
65+ config . env . ACCESSIBILITY_REPORT_PATH = process . env . ACCESSIBILITY_REPORT_PATH ;
6666
6767 return config ;
6868}
Original file line number Diff line number Diff line change @@ -127,7 +127,8 @@ cy.window().then((win) => {
127127 needsReview : needsReviewValue
128128 }
129129 let testId = Cypress . env ( "TEST_ID" ) || ""
130- const filePath = 'cypress/reports/accessibilityReport_' + testId + '.json' ;
130+ // const filePath = 'cypress/reports/accessibilityReport_' + testId + '.json';
131+ const filePath = Cypress . env ( ACCESSIBILITY_REPORT_PATH ) || 'cypress/results/accessibilityReport_' + testId + '.json' ;
131132
132133 cy . wrap ( setScanConfig ( win , payloadToSend ) , { timeout : 30000 } ) . then ( ( res ) => {
133134 // LambdatestLog('log', "logging report **************")
You can’t perform that action at this time.
0 commit comments