A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
test: fix flaky tests
thecodrr2f58349ec304
diff --git a/apps/web/__e2e__/notes.test.js b/apps/web/__e2e__/notes.test.jsindex 6f14b5c9b..9b6f22689 100644--- a/apps/web/__e2e__/notes.test.js+++ b/apps/web/__e2e__/notes.test.js@@ -468,7 +468,7 @@ test.describe("run tests independently", () => {expect(editorContent).toContain(`${content}${NOTE.content}`);});- test.only("change title of a locked note", async () => {+ test("change title of a locked note", async () => {const title = "NEW TITLE!";const noteSelector = await createNoteAndCheckPresence();diff --git a/apps/web/__e2e__/notes.test.js-snapshots/export-html-Chromium-linux.txt b/apps/web/__e2e__/notes.test.js-snapshots/export-html-Chromium-linux.txtindex 37d8c31e6..69f5d5dfa 100644--- a/apps/web/__e2e__/notes.test.js-snapshots/export-html-Chromium-linux.txt+++ b/apps/web/__e2e__/notes.test.js-snapshots/export-html-Chromium-linux.txt@@ -11,7 +11,7 @@</head><body><h1>Test 1</h1>- <p dir="ltr">This is Test 1Test 1Test 1Test 1Test 1Test 1Test 1Test 1Test 1Test 1</p>+ <p dir="ltr" data-spacing="double">This is Test 1Test 1Test 1Test 1Test 1Test 1Test 1Test 1Test 1Test 1</p><br/>Created on: <b>xxx</b><br/>Edited on: <b>xxx</b>diff --git a/apps/web/__e2e__/tags.test.js b/apps/web/__e2e__/tags.test.jsindex c61ba4ec2..af47c194c 100644--- a/apps/web/__e2e__/tags.test.js+++ b/apps/web/__e2e__/tags.test.js@@ -147,6 +147,8 @@ test("delete a tag and make sure all associated notes are untagged", async ({await clickMenuItem("delete");});+ await page.waitForTimeout(1000);+expect(await page.isVisible(tagSelector.build())).toBe(false);await navigateTo("notes");