mirror of
https://github.com/nocodb/nocodb.git
synced 2026-04-29 14:06:45 +00:00
test: cy wait cleanup
Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
This commit is contained in:
@@ -114,7 +114,8 @@ export class _projectsPage {
|
||||
|
||||
// close team & auth tab
|
||||
cy.get("button.ant-tabs-tab-remove").should("exist").click();
|
||||
cy.wait(1000);
|
||||
cy.get("button.ant-tabs-tab-remove").should("not.exist");
|
||||
// cy.wait(1000);
|
||||
}
|
||||
|
||||
// Open existing project
|
||||
@@ -155,6 +156,8 @@ export class _projectsPage {
|
||||
cy.get(".nc-metadb-project-name").should("exist");
|
||||
cy.contains("button", "Create").should("exist");
|
||||
|
||||
// fix me! wait till the modal rendering (input highlight) is completed
|
||||
// focus shifts back to the input field to select text after the dropdown is rendered
|
||||
cy.wait(1000);
|
||||
|
||||
// feed project name
|
||||
@@ -185,7 +188,8 @@ export class _projectsPage {
|
||||
cy.get(".nc-extdb-proj-name").should("exist");
|
||||
cy.get(".nc-extdb-btn-test-connection").should("exist");
|
||||
|
||||
// CY goes too fast at times, so wait for the page to load
|
||||
// fix me! wait till the modal rendering (input highlight) is completed
|
||||
// focus shifts back to the input field to select text after the dropdown is rendered
|
||||
cy.wait(1000);
|
||||
|
||||
cy.get(".nc-extdb-proj-name").clear().type(projectName);
|
||||
@@ -208,7 +212,7 @@ export class _projectsPage {
|
||||
// Create project
|
||||
cy.contains("Ok & Save Project", { timeout: 20000 }).click();
|
||||
|
||||
cy.wait(5000);
|
||||
// cy.wait(5000);
|
||||
// takes a while to load project
|
||||
this.waitHomePageLoad();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user