mirror of
https://github.com/nocodb/nocodb.git
synced 2026-04-29 06:36:46 +00:00
test(cypress): reduce dependency on static wait (cy.wait)
Signed-off-by: Raju Udava <sivadstala@gmail.com>
This commit is contained in:
@@ -66,9 +66,6 @@ export const genTest = (type, xcdb) => {
|
||||
describe(`Import from excel`, () => {
|
||||
|
||||
before(() => {
|
||||
// cy.waitForSpinners()
|
||||
// cy.signinOrSignup(roles.owner.credentials)
|
||||
// cy.wait(2000)
|
||||
|
||||
cy.task('readSheetList', { file: `./scripts/cypress/fixtures/${filepath}` })
|
||||
.then((rows) => {
|
||||
@@ -182,8 +179,8 @@ export const genTest = (type, xcdb) => {
|
||||
|
||||
// delete project once all operations are completed
|
||||
mainPage.toolBarTopLeft(mainPage.HOME).click()
|
||||
cy.wait(1000)
|
||||
cy.get(`.nc-${type}-project-row .mdi-delete-circle-outline`, { timeout: 10000 })
|
||||
.should('exist')
|
||||
.last()
|
||||
.invoke('show')
|
||||
.click();
|
||||
@@ -277,8 +274,8 @@ export const genTest = (type, xcdb) => {
|
||||
after(() => {
|
||||
// delete project once all operations are completed
|
||||
mainPage.toolBarTopLeft(mainPage.HOME).click()
|
||||
cy.wait(1000)
|
||||
cy.get(`.nc-${type}-project-row .mdi-delete-circle-outline`, { timeout: 10000 })
|
||||
.should('exist')
|
||||
.last()
|
||||
.invoke('show')
|
||||
.click();
|
||||
|
||||
Reference in New Issue
Block a user