Browse Source

feat(cypress): setup will wait for noco logo with less delay

pull/3848/head
Muhammed Mustafa 2 years ago
parent
commit
aec0d1230a
  1. 5
      scripts/cypress/support/commands.js

5
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}
});
})
})
});

Loading…
Cancel
Save