File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -188,13 +188,16 @@ function oldprocessAccessibilityReport(win){
188188 let wcagCriteriaValue = Cypress . env ( "WCAG_CRITERIA" ) || "wcag21a" ;
189189 let bestPracticeValue = Cypress . env ( "BEST_PRACTICE" ) || false ;
190190 let needsReviewValue = Cypress . env ( "NEEDS_REVIEW" ) || true ;
191+ let captureScreenshotEnabled = Cypress . env ( "CAPTURE_SCREENSHOT_ENABLED" ) || true ;
191192 bestPracticeValue = bestPracticeValue == "true" ? true : false ;
192193 needsReviewValue = needsReviewValue == "true" ? true : false ;
194+ captureScreenshotEnabled = captureScreenshotEnabled == "true" ? true : false ;
193195 const payloadToSend = {
194196 message : 'SET_CONFIG' ,
195197 wcagCriteria : wcagCriteriaValue ,
196198 bestPractice : bestPracticeValue ,
197- needsReview : needsReviewValue
199+ needsReview : needsReviewValue ,
200+ captureScreenshotEnabled : captureScreenshotEnabled
198201 }
199202
200203 console . log ( 'log' , "payload to send " + payloadToSend ) ;
You can’t perform that action at this time.
0 commit comments