diff --git a/test/cypress/support/commands.js b/test/cypress/support/commands.js index 94b1a18af..d5e50639c 100755 --- a/test/cypress/support/commands.js +++ b/test/cypress/support/commands.js @@ -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')); });