Skip to content

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

fix(pw): update snapshot test

Ramesh Mane815dd365b2ab
diff --git a/tests/playwright/pages/Dashboard/index.ts b/tests/playwright/pages/Dashboard/index.ts
index 9bf556064e..4a03680181 100644
--- a/tests/playwright/pages/Dashboard/index.ts
+++ b/tests/playwright/pages/Dashboard/index.ts
@@ -112,6 +112,9 @@ export class DashboardPage extends BasePage {
}
async clickOnBaseMenuLink() {
+ // Open base list sidebar if it is not open
+ await this.leftSidebar.verifyBaseListOpen(true);
+
const baseMenuLocator = this.rootPage.locator(`.base-title-node:has-text("${this.base.title}")`).first();
await baseMenuLocator.waitFor({ state: 'visible' });