Browse Source

test: kludge- delay to ensure project creation process is complete

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
pull/3848/head
Raju Udava 2 years ago committed by Muhammed Mustafa
parent
commit
111d70d9d6
  1. 3
      scripts/playwright/pages/Dashboard/index.ts

3
scripts/playwright/pages/Dashboard/index.ts

@ -219,6 +219,9 @@ export class DashboardPage extends BasePage {
await this.rootPage.locator(`.nc-metadb-project-name`).waitFor(); await this.rootPage.locator(`.nc-metadb-project-name`).waitFor();
await this.rootPage.locator(`input.nc-metadb-project-name`).fill(name); await this.rootPage.locator(`input.nc-metadb-project-name`).fill(name);
await this.rootPage.locator(`input.nc-metadb-project-name`).press("Enter"); await this.rootPage.locator(`input.nc-metadb-project-name`).press("Enter");
// fix me! wait for page to be rendered completely
await this.rootPage.waitForTimeout(2000);
} }
async signOut() { async signOut() {

Loading…
Cancel
Save