Browse Source

(test) cypress: delay after project open to allow page load

Signed-off-by: Raju Udava <sivadstala@gmail.com>
pull/743/head
Raju Udava 3 years ago
parent
commit
d1a201bf0f
  1. 3
      scripts/cypress/support/commands.js

3
scripts/cypress/support/commands.js

@ -117,6 +117,9 @@ Cypress.Commands.add('openTableTab', (tn) => {
cy.get('.nc-project-tree')
.find('.v-list-item__title:contains(Tables)', { timeout: 10000 })
.first().click()
// wait for page to load
cy.wait(500)
})
Cypress.Commands.add('openOrCreateGqlProject', (_args) => {

Loading…
Cancel
Save