Skip to content

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

fix(pw): column user select test fail issue

Ramesh Manef412e70ff5cc
diff --git a/tests/playwright/pages/Dashboard/TreeView.ts b/tests/playwright/pages/Dashboard/TreeView.ts
index bfac678e7a..76d9b27e79 100644
--- a/tests/playwright/pages/Dashboard/TreeView.ts
+++ b/tests/playwright/pages/Dashboard/TreeView.ts
@@ -166,8 +166,10 @@ export class TreeViewPage extends BasePage {
if (skipOpeningModal) return;
await this.dashboard.leftSidebar.miniSidebarActionClick({ type: 'base' });
+ await this.rootPage.waitForTimeout(500);
- const verifyBaseListOpen = await this.dashboard.leftSidebar.verifyBaseListOpen();
+ await this.dashboard.leftSidebar.verifyBaseListOpen(true);
+ const verifyBaseListOpen = true;
switch (type) {
case 'table': {
diff --git a/tests/playwright/pages/Dashboard/common/LeftSidebar/index.ts b/tests/playwright/pages/Dashboard/common/LeftSidebar/index.ts
index 3047aa1c61..133792e556 100644
--- a/tests/playwright/pages/Dashboard/common/LeftSidebar/index.ts
+++ b/tests/playwright/pages/Dashboard/common/LeftSidebar/index.ts
@@ -233,9 +233,10 @@ export class LeftSidebarPage extends BasePage {
if (miniSidebarActionLocator) {
await miniSidebarActionLocator.click();
- }
- await this.rootPage.waitForTimeout(400);
+ // wait for transition to complete
+ await this.rootPage.waitForTimeout(500);
+ }
}
async verifyMiniSidebarActions({