Skip to content

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

test: make unfavorite test pass

thecodrr4602c7278891
diff --git a/apps/web/__e2e__/notes.test.js b/apps/web/__e2e__/notes.test.js
index b7d3be66f..7ebdccd08 100644
--- a/apps/web/__e2e__/notes.test.js
+++ b/apps/web/__e2e__/notes.test.js
@@ -253,6 +253,8 @@ describe.each(["independent", "sequential"])("run tests %sly", (type) => {
});
}
+ await page.waitForTimeout(500);
+
await useContextMenu(noteSelector, async () => {
await clickMenuItem("unfavorite");
});
diff --git a/apps/web/package.json b/apps/web/package.json
index b2d91fcc6..9ce82b495 100644
--- a/apps/web/package.json
+++ b/apps/web/package.json
@@ -55,7 +55,7 @@
},
"scripts": {
"preinstall": "chmod +x ./scripts/ci.sh && ./scripts/ci.sh",
- "start": "PORT=3001 react-scripts start",
+ "start": "react-scripts start",
"build": "react-scripts build",
"debug": "BROWSER=none react-scripts start",
"test": "BROWSER= jest --runInBand -c jest.e2e.config.js",