This commit is contained in:
parent
05df3e3f10
commit
02e94e6df5
|
@ -57,7 +57,7 @@ Cypress.Commands.add('login', (user = 'developer') => {
|
|||
});
|
||||
});
|
||||
|
||||
Cypress.Commands.add('domContentLoad', (timeout = 5000) => {
|
||||
Cypress.Commands.add('domContentLoad', (element, timeout = 5000) => {
|
||||
cy.waitUntil(() => cy.document().then((doc) => doc.readyState === 'complete'));
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue