Skip to content

Build your personal knowledge base with Trilium Notes

chore(server/e2e): increase timeout of a flaky test

Elian Dorane7521fe30c31
diff --git a/apps/server-e2e/src/layout/tab_bar.spec.ts b/apps/server-e2e/src/layout/tab_bar.spec.ts
index 3f81eb26a5..90e17afef5 100644
--- a/apps/server-e2e/src/layout/tab_bar.spec.ts
+++ b/apps/server-e2e/src/layout/tab_bar.spec.ts
@@ -79,7 +79,7 @@ test("Tabs are restored in right order", async ({ page, context }) => {
// Refresh the page and check the order.
await app.goto( { preserveTabs: true });
- await expect(app.getTab(0)).toContainText("Code notes");
+ await expect(app.getTab(0)).toContainText("Code notes", { timeout: 15_000 });
await expect(app.getTab(1)).toContainText("Text notes");
await expect(app.getTab(2)).toContainText("Mermaid");