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) => {
62
62
config . env . WCAG_CRITERIA = process . env . WCAG_CRITERIA ;
63
63
config . env . BEST_PRACTICE = process . env . BEST_PRACTICE ;
64
64
config . env . NEEDS_REVIEW = process . env . NEEDS_REVIEW ;
65
-
65
+ config . env . ACCESSIBILITY_REPORT_PATH = process . env . ACCESSIBILITY_REPORT_PATH ;
66
66
67
67
return config ;
68
68
}
Original file line number Diff line number Diff line change @@ -127,7 +127,8 @@ cy.window().then((win) => {
127
127
needsReview : needsReviewValue
128
128
}
129
129
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' ;
131
132
132
133
cy . wrap ( setScanConfig ( win , payloadToSend ) , { timeout : 30000 } ) . then ( ( res ) => {
133
134
// LambdatestLog('log', "logging report **************")
You can’t perform that action at this time.
0 commit comments