mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-23 06:59:31 +01:00
ci: faster debug build
This commit is contained in:
@@ -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: {
|
||||||
|
|||||||
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user