Skip to content

πŸ”₯ πŸ”₯ πŸ”₯ A Free & Self-hostable Airtable Alternative

fix: pw test fail issue

Ramesh Mane279d379c1146
diff --git a/tests/playwright/pages/Dashboard/Sidebar/index.ts b/tests/playwright/pages/Dashboard/Sidebar/index.ts
index 75942b9645..7038df1d28 100644
--- a/tests/playwright/pages/Dashboard/Sidebar/index.ts
+++ b/tests/playwright/pages/Dashboard/Sidebar/index.ts
@@ -85,8 +85,8 @@ export class SidebarPage extends BasePage {
}
if (isEE()) {
- await this.rootPage.locator('.nc-create-base').waitFor();
- await this.rootPage.locator('.nc-create-base').click();
+ await this.rootPage.getByTestId('nc-base-create-menu').waitFor();
+ await this.rootPage.getByTestId('nc-base-create-menu').getByTestId('nc-menu-from-scratch').click();
}
await this.dashboard.get().locator('.nc-metadb-base-name').clear();