From b31cde906f565a05c9aa4495624e64bc829c976c Mon Sep 17 00:00:00 2001 From: thecodrr Date: Thu, 10 Jun 2021 00:53:24 +0500 Subject: [PATCH] ci: faster debug build --- apps/web/.env-cmdrc.js | 4 +++- apps/web/__e2e__/notes.test.js | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) 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();