Skip to content

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

ci: faster debug build

thecodrrb31cde906f56
diff --git a/apps/web/.env-cmdrc.js b/apps/web/.env-cmdrc.js
index 6e4ee104e..688269709 100644
--- a/apps/web/.env-cmdrc.js
+++ b/apps/web/.env-cmdrc.js
@@ -6,7 +6,7 @@ module.exports = {
REACT_APP_GIT_HASH: gitHash,
},
dev: {
- REACT_APP_CI: true,
+ REACT_APP_CI: "true",
},
web: {
REACT_APP_PLATFORM: "web",
@@ -16,6 +16,8 @@ module.exports = {
DEBUG: "pw:api",
},
silent: {
+ DISABLE_ESLINT_PLUGIN: "true",
+ FAST_REFRESH: "false",
BROWSER: "none",
},
desktop: {
diff --git a/apps/web/__e2e__/notes.test.js b/apps/web/__e2e__/notes.test.js
index dae44a514..aefa1c2f4 100644
--- a/apps/web/__e2e__/notes.test.js
+++ b/apps/web/__e2e__/notes.test.js
@@ -103,6 +103,8 @@ async function checkNoteLocked(noteSelector) {
async function checkNoteColored(noteSelector) {
await openContextMenu(noteSelector);
+ await page.waitForTimeout(500);
+
await expect(
isPresent(Menu.new("menuitem").colorCheck("red").build())
).resolves.toBeTruthy();