Skip to content

Commit b92414c

Browse files
comment old window process
1 parent 407fe75 commit b92414c

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

accessibility/scanner/index.js

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,16 @@ const commandsToOverride = [
1212

1313
const commandsToWrap = ['visit', 'click', 'type', 'request', 'dblclick', 'rightclick', 'clear', 'check', 'uncheck', 'select', 'trigger', 'selectFile', 'scrollIntoView', 'scroll', 'scrollTo', 'blur', 'focus', 'go', 'reload', 'submit', 'viewport', 'origin'];
1414

15-
let currentWindow = null;
16-
Cypress.Commands.add('storeWindowObject', () => {
17-
cy.window().then(win => {
18-
currentWindow = win;
19-
});
20-
});
21-
22-
beforeEach(() => {
23-
cy.storeWindowObject();
24-
});
15+
// let currentWindow = null;
16+
// Cypress.Commands.add('storeWindowObject', () => {
17+
// cy.window().then(win => {
18+
// currentWindow = win;
19+
// });
20+
// });
21+
//
22+
// beforeEach(() => {
23+
// cy.storeWindowObject();
24+
// });
2525

2626
const setScanConfig = (win, payload) => {
2727
return new Promise((resolve, reject) => {

0 commit comments

Comments
 (0)