Skip to content

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

test: wait a little bit before checking for colored note

thecodrr0df518b81e50
diff --git a/apps/web/__e2e__/notes.test.js b/apps/web/__e2e__/notes.test.js
index 2ade31cb6..ebdec9491 100644
--- a/apps/web/__e2e__/notes.test.js
+++ b/apps/web/__e2e__/notes.test.js
@@ -134,7 +134,11 @@ async function checkNoteColored(noteSelector) {
await navigateTo("red");
+ // wait for the page to render and notes to populate
+ await page.waitForTimeout(500);
+
const coloredNote = await page.$(List.new("note").atIndex(0).build());
+ if (!coloredNote) throw new Error("Colored note not present.");
await expect(coloredNote.screenshot()).resolves.toMatchImageSnapshot({
allowSizeMismatch: true,
failureThreshold: 5,