Skip to content

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

fix: create base test fail issue

Ramesh Mane0c9e4a9a542a
diff --git a/tests/playwright/pages/Dashboard/common/LeftSidebar/index.ts b/tests/playwright/pages/Dashboard/common/LeftSidebar/index.ts
index e9d5e5d407..0f31b13e95 100644
--- a/tests/playwright/pages/Dashboard/common/LeftSidebar/index.ts
+++ b/tests/playwright/pages/Dashboard/common/LeftSidebar/index.ts
@@ -92,8 +92,8 @@ export class LeftSidebarPage extends BasePage {
await this.btn_newProject.click();
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.rootPage.locator('.ant-modal-content:has-text(" Create Base")').waitFor();