Skip to content

Commit 719e0c4

Browse files
Merge pull request #402 from abhishek-lambda/AT-281
At 281
2 parents 0ba5ff3 + 7fe71f1 commit 719e0c4

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
@@ -308,7 +308,7 @@ afterEach(() => {
308308

309309
})
310310

311-
if (!Cypress.Commands.hasOwnProperty('_lambdaTestAcessibilityQueryAdded')) {
311+
if (!Cypress.Commands.hasOwnProperty('_lambdaTestAcessibilityQueryAdded') && (overRideCommands)) {
312312
Cypress.Commands.addQuery('performScanSubjectQuery', function (chaining, setTimeout) {
313313
this.set('timeout', setTimeout);
314314
return () => cy.getSubjectFromChain(chaining);

0 commit comments

Comments
 (0)