Skip to content

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

test: fix selection tests

thecodrr09fbe3112cd4
diff --git a/apps/web/__e2e__/editor.test.js b/apps/web/__e2e__/editor.test.js
index 4417f2315..ce6d54091 100644
--- a/apps/web/__e2e__/editor.test.js
+++ b/apps/web/__e2e__/editor.test.js
@@ -190,6 +190,8 @@ test("select all & backspace should clear all content in editor", async () => {
await page.focus(".mce-content-body");
+ await page.keyboard.press("Home");
+
await page.keyboard.press("Shift+End");
await page.waitForTimeout(500);