File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -85,7 +85,8 @@ cy.window().then((win) => {
85
85
let wcagCriteriaValue = Cypress . env ( "WCAG_CRITERIA" ) || "wcag21a" ;
86
86
let bestPracticeValue = Cypress . env ( "BEST_PRACTICE" ) || false ;
87
87
let needsReviewValue = Cypress . env ( "NEEDS_REVIEW" ) || true ;
88
-
88
+ bestPracticeValue = bestPracticeValue == "true" ? true : false ;
89
+ needsReviewValue = needsReviewValue == "true" ? true : false ;
89
90
const payloadToSend = {
90
91
message : 'SET_CONFIG' ,
91
92
wcagCriteria : wcagCriteriaValue ,
@@ -95,7 +96,7 @@ cy.window().then((win) => {
95
96
let testId = Cypress . env ( "TEST_ID" ) || ""
96
97
97
98
const filePath = Cypress . env ( "ACCESSIBILITY_REPORT_PATH" ) || 'cypress/results/accessibilityReport_' + testId + '.json' ;
98
-
99
+ console . log ( 'payload to send' , payloadToSend ) ;
99
100
cy . wrap ( setScanConfig ( win , payloadToSend ) , { timeout : 30000 } ) . then ( ( res ) => {
100
101
console . log ( 'logging config reponse' , res ) ;
101
102
You can’t perform that action at this time.
0 commit comments