Skip to content

Commit 54fe51f

Browse files
authored
Merge pull request #336 from LambdaTest/dev
Release 1 oct
2 parents 41fb200 + bb300a2 commit 54fe51f

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

accessibility/plugin/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ const Accessibility = (on, config) => {
2424
on('before:browser:launch', (browser = {}, launchOptions) => {
2525
try {
2626
if (process.env.ACCESSIBILITY_EXTENSION_PATH !== undefined) {
27-
if (browser.name !== 'chrome') {
28-
console.log(`Accessibility Automation will run only on Chrome browsers.`);
27+
if (browser.name !== 'chrome' && browser.name !== 'edge') {
28+
console.log(`Accessibility Automation will run only on Chrome and Edge browsers. But browser used is ` + browser.name);
2929
browser_validation = false;
3030
}
3131
if (browser.name === 'chrome' && browser.majorVersion <= 94) {

accessibility/scanner/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff 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,

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "lambdatest-cypress-cli",
3-
"version": "3.0.31",
3+
"version": "3.0.32",
44
"description": "The lambdatest-cypress-cli is LambdaTest's command-line interface (CLI) aimed to help you run your Cypress tests on LambdaTest platform.",
55
"homepage": "https://github.com/LambdaTest/lambdatest-cypress-cli",
66
"author": "LambdaTest <[email protected]>",

0 commit comments

Comments
 (0)