Skip to content

Commit

Permalink
Merge pull request #336 from LambdaTest/dev
Browse files Browse the repository at this point in the history
Release 1 oct
  • Loading branch information
HRanjan-11 authored Oct 1, 2024
2 parents 41fb200 + bb300a2 commit 54fe51f
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions accessibility/plugin/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ const Accessibility = (on, config) => {
on('before:browser:launch', (browser = {}, launchOptions) => {
try {
if (process.env.ACCESSIBILITY_EXTENSION_PATH !== undefined) {
if (browser.name !== 'chrome') {
console.log(`Accessibility Automation will run only on Chrome browsers.`);
if (browser.name !== 'chrome' && browser.name !== 'edge') {
console.log(`Accessibility Automation will run only on Chrome and Edge browsers. But browser used is ` + browser.name);
browser_validation = false;
}
if (browser.name === 'chrome' && browser.majorVersion <= 94) {
Expand Down
3 changes: 2 additions & 1 deletion accessibility/scanner/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,8 @@ cy.window().then((win) => {
let wcagCriteriaValue = Cypress.env("WCAG_CRITERIA") || "wcag21a";
let bestPracticeValue = Cypress.env("BEST_PRACTICE") || false;
let needsReviewValue = Cypress.env("NEEDS_REVIEW") || true;

bestPracticeValue = bestPracticeValue == "true" ? true : false;
needsReviewValue = needsReviewValue == "true" ? true : false;
const payloadToSend = {
message: 'SET_CONFIG',
wcagCriteria: wcagCriteriaValue,
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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.31",
"version": "3.0.32",
"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

0 comments on commit 54fe51f

Please sign in to comment.