Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion accessibility/scanner/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,12 +124,14 @@ const processAccessibilityReport = async (windowNew) => {
let wcagCriteriaValue = Cypress.env("WCAG_CRITERIA") || "wcag21a";
let bestPracticeValue = Cypress.env("BEST_PRACTICE") === "true";
let needsReviewValue = Cypress.env("NEEDS_REVIEW") !== "false"; // Default to true
let captureScreenshotEnabled = Cypress.env("CAPTURE_SCREENSHOT_ENABLED") !== "false";

const payloadToSend = {
message: 'SET_CONFIG',
wcagCriteria: wcagCriteriaValue,
bestPractice: bestPracticeValue,
needsReview: needsReviewValue
needsReview: needsReviewValue,
captureScreenshotEnabled: captureScreenshotEnabled
};

console.log('log', "SET SCAN: Payload to send: ", payloadToSend);
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "lambdatest-cypress-cli",
"version": "3.0.38",
"version": "3.0.39",
"description": "The lambdatest-cypress-cli is LambdaTest's command-line interface (CLI) aimed to help you run your Cypress tests on LambdaTest platform.",
"homepage": "https://github.com/LambdaTest/lambdatest-cypress-cli",
"author": "LambdaTest <[email protected]>",
Expand Down