Skip to content

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

fix: ws create pw test fail issue

Ramesh Mane2b26405e439d
diff --git a/packages/nc-gui/composables/useBaseActions.ts b/packages/nc-gui/composables/useWsBaseListActions.ts
similarity index 100%
rename from packages/nc-gui/composables/useBaseActions.ts
rename to packages/nc-gui/composables/useWsBaseListActions.ts
diff --git a/tests/playwright/pages/Dashboard/common/LeftSidebar/index.ts b/tests/playwright/pages/Dashboard/common/LeftSidebar/index.ts
index 80d87f5793..15f55f7b59 100644
--- a/tests/playwright/pages/Dashboard/common/LeftSidebar/index.ts
+++ b/tests/playwright/pages/Dashboard/common/LeftSidebar/index.ts
@@ -187,7 +187,7 @@ export class LeftSidebarPage extends BasePage {
await newWorkspaceBtn.click();
// Fill in the workspace creation dialog
- const inputModal = this.rootPage.locator('div.ant-modal.active');
+ const inputModal = this.rootPage.locator('div.ant-modal.active').last();
await inputModal.waitFor();
await inputModal.locator('input').clear();
await inputModal.locator('input').fill(title);