We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58c491d commit 067a26fCopy full SHA for 067a26f
accessibility/scanner/index.js
@@ -100,6 +100,7 @@ async function processAccessibilityReport(url) {
100
101
try {
102
let testId = Cypress.env("TEST_ID") || ""
103
+ const filePath = Cypress.env("ACCESSIBILITY_REPORT_PATH") || 'cypress/results/accessibilityReport_' + testId + '.json';
104
console.log("TestID is",testId);
105
const response = await fetch("http://127.0.0.1:43000/cypress/v1/generateAccessibilityReport", {
106
method: "POST",
@@ -109,7 +110,8 @@ async function processAccessibilityReport(url) {
109
110
body: JSON.stringify({
111
url: url,
112
scanData: scanData,
- testId :testId
113
+ testId :testId,
114
+ accessibilityReportPath:filePath
115
})
116
});
117
0 commit comments