Browse Source

test: xcdb- wait till project creation is complete

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
pull/3422/head
Raju Udava 2 years ago
parent
commit
e581a2396e
  1. 1
      scripts/cypress-v2/integration/common/00_pre_configurations.js
  2. 2
      scripts/cypress-v2/support/page_objects/navigation.js

1
scripts/cypress-v2/integration/common/00_pre_configurations.js

@ -193,6 +193,7 @@ export const genTest = (apiType, dbType) => {
} }
} else { } else {
projectsPage.createProject(proj.basic, proj.config); projectsPage.createProject(proj.basic, proj.config);
cy.wait(5000);
if (dbType === "xcdb") { if (dbType === "xcdb") {
// store base URL- to re-visit and delete form view later // store base URL- to re-visit and delete form view later
let projId; let projId;

2
scripts/cypress-v2/support/page_objects/navigation.js

@ -287,7 +287,7 @@ export class _projectsPage {
// } // }
waitHomePageLoad() { waitHomePageLoad() {
// cy.url({ timeout: 50000 }).should("contain", "&dbalias="); cy.url({ timeout: 50000 }).should("contain", "/#/nc/p_");
} }
} }

Loading…
Cancel
Save