Skip to content

Build your personal knowledge base with Trilium Notes

fix: 🐛 Fix playwright test

Jin49d7fa17354f
diff --git a/e2e/support/app.ts b/e2e/support/app.ts
index 64e60d74eb..55f36a7ffb 100644
--- a/e2e/support/app.ts
+++ b/e2e/support/app.ts
@@ -75,6 +75,8 @@ export default class App {
*/
async closeAllTabs() {
await this.triggerCommand("closeAllTabs");
+ // Page in Playwright is not updated somehow, need to click on the tab to make sure it's rendered
+ await this.getTab(0).click();
}
/**