Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

web: fix `if note is active in multiple tabs, moving the note to trash should close those tabs` test

Abdullah Atta3bc7fc84f983
diff --git a/apps/web/__e2e__/tabs.test.ts b/apps/web/__e2e__/tabs.test.ts
index 231ef26ee..0b18756e2 100644
--- a/apps/web/__e2e__/tabs.test.ts
+++ b/apps/web/__e2e__/tabs.test.ts
@@ -455,6 +455,7 @@ test("if note is active in multiple tabs, moving the note to trash should close
title: "Note 1"
});
await note?.contextMenu.openInNewTab();
+ await page.waitForTimeout(1000);
await note?.contextMenu.moveToTrash();