ci: faster debug build

This commit is contained in:
thecodrr
2021-06-10 00:53:24 +05:00
parent f14f329034
commit b31cde906f
2 changed files with 5 additions and 1 deletions

View File

@@ -6,7 +6,7 @@ module.exports = {
REACT_APP_GIT_HASH: gitHash, REACT_APP_GIT_HASH: gitHash,
}, },
dev: { dev: {
REACT_APP_CI: true, REACT_APP_CI: "true",
}, },
web: { web: {
REACT_APP_PLATFORM: "web", REACT_APP_PLATFORM: "web",
@@ -16,6 +16,8 @@ module.exports = {
DEBUG: "pw:api", DEBUG: "pw:api",
}, },
silent: { silent: {
DISABLE_ESLINT_PLUGIN: "true",
FAST_REFRESH: "false",
BROWSER: "none", BROWSER: "none",
}, },
desktop: { desktop: {

View File

@@ -103,6 +103,8 @@ async function checkNoteLocked(noteSelector) {
async function checkNoteColored(noteSelector) { async function checkNoteColored(noteSelector) {
await openContextMenu(noteSelector); await openContextMenu(noteSelector);
await page.waitForTimeout(500);
await expect( await expect(
isPresent(Menu.new("menuitem").colorCheck("red").build()) isPresent(Menu.new("menuitem").colorCheck("red").build())
).resolves.toBeTruthy(); ).resolves.toBeTruthy();