diff --git a/scripts/cypress/support/commands.js b/scripts/cypress/support/commands.js index f77dcd8111..36d7425b45 100644 --- a/scripts/cypress/support/commands.js +++ b/scripts/cypress/support/commands.js @@ -55,10 +55,11 @@ Cypress.Commands.add('setup', ({ dbType }) => { headers: { "Accept-Encoding": "gzip, deflate", } - }).then(() => { + }) + .getSettled('.nc-noco-brand-icon', {delay: 100}).should('be.visible') + .then(() => { return {token: response.body.token, project} }); - }) }) });