Skip to content

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

fix: wait for modal close animation

Ramesh Mane496e13e5985f
diff --git a/tests/playwright/pages/Dashboard/common/BaseListModal/index.ts b/tests/playwright/pages/Dashboard/common/BaseListModal/index.ts
index c82a91dfe0..4c60bdb56b 100644
--- a/tests/playwright/pages/Dashboard/common/BaseListModal/index.ts
+++ b/tests/playwright/pages/Dashboard/common/BaseListModal/index.ts
@@ -29,6 +29,9 @@ export class BaseListModalPage extends BasePage {
async waitForClose() {
await this.modal.waitFor({ state: 'hidden' });
+
+ // Wait for modal animation to complete
+ await this.rootPage.waitForTimeout(300);
}
async close() {