File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -102,20 +102,14 @@ async function processAccessibilityReport(url) {
102
102
let testId = Cypress . env ( "TEST_ID" ) || ""
103
103
const filePath = Cypress . env ( "ACCESSIBILITY_REPORT_PATH" ) || 'cypress/results/accessibilityReport_' + testId + '.json' ;
104
104
console . log ( "TestID is" , testId ) ;
105
- const payload = {
106
- message : "GET_LATEST_SCAN_DATA" ,
107
- data : scanData . data ,
108
- axeVersion : scanData . axeVersion
109
- } ;
110
105
const response = await fetch ( "http://localhost:43000/api/v1.0/cypress/generateAccessibilityReport" , {
111
106
method : "POST" ,
112
107
headers : {
113
108
"Content-Type" : "application/json"
114
109
} ,
115
110
body : JSON . stringify ( {
116
- url : url ,
117
- scanData : payload ,
118
111
testId :testId ,
112
+ scanData : scanData ,
119
113
accessibilityReportPath :filePath
120
114
} )
121
115
} ) ;
You can’t perform that action at this time.
0 commit comments