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) => {
8585 let wcagCriteriaValue = Cypress . env ( "WCAG_CRITERIA" ) || "wcag21a" ;
8686 let bestPracticeValue = Cypress . env ( "BEST_PRACTICE" ) || false ;
8787 let needsReviewValue = Cypress . env ( "NEEDS_REVIEW" ) || true ;
88-
88+ bestPracticeValue = bestPracticeValue == "true" ? true : false ;
89+ needsReviewValue = needsReviewValue == "true" ? true : false ;
8990 const payloadToSend = {
9091 message : 'SET_CONFIG' ,
9192 wcagCriteria : wcagCriteriaValue ,
@@ -95,7 +96,7 @@ cy.window().then((win) => {
9596 let testId = Cypress . env ( "TEST_ID" ) || ""
9697
9798 const filePath = Cypress . env ( "ACCESSIBILITY_REPORT_PATH" ) || 'cypress/results/accessibilityReport_' + testId + '.json' ;
98-
99+ console . log ( 'payload to send' , payloadToSend ) ;
99100 cy . wrap ( setScanConfig ( win , payloadToSend ) , { timeout : 30000 } ) . then ( ( res ) => {
100101 console . log ( 'logging config reponse' , res ) ;
101102
You can’t perform that action at this time.
0 commit comments