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,
|
||||
},
|
||||
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: {
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user