Skip to content

Commit 5a4fd35

Browse files
Merge pull request #403 from abhishek-lambda/AT-281
At 281
2 parents d1f4225 + 1ca69ad commit 5a4fd35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

accessibility/scanner/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ afterEach(() => {
313313

314314
})
315315

316-
if (!Cypress.Commands.hasOwnProperty('_lambdaTestAcessibilityQueryAdded')) {
316+
if (!Cypress.Commands.hasOwnProperty('_lambdaTestAcessibilityQueryAdded') && (overRideCommands)) {
317317
Cypress.Commands.addQuery('performScanSubjectQuery', function (chaining, setTimeout) {
318318
this.set('timeout', setTimeout);
319319
return () => cy.getSubjectFromChain(chaining);

0 commit comments

Comments
 (0)