prevent menu e2e

pull/5370/head
filip mertens 8 months ago
parent 15aae01b60
commit 80cc56fea6
  1. 4
      .circleci/config.yml
  2. 4
      apps/remixdesktop/src/main.ts
  3. 2
      apps/remixdesktop/test/nighwatch.app.ts

@ -500,8 +500,8 @@ jobs:
command: |
nvm use 20
cd apps/remixdesktop
yarn installRipGrepMacOXx64
PUBLISH_FOR_PULL_REQUEST='false' USE_HARD_LINKS=false yarn dist --x64
yarn installRipGrepMacOXarm64
PUBLISH_FOR_PULL_REQUEST='false' USE_HARD_LINKS=false yarn dist --arm64
- run:
name: "Run tests"
command: |

@ -132,8 +132,8 @@ const menu = [...(process.platform === 'darwin' ? [darwinMenu(commandKeys, execC
WindowMenu(commandKeys, execCommand, []),
HelpMenu(commandKeys, execCommand),
]
Menu.setApplicationMenu(Menu.buildFromTemplate(menu))
if(!isE2E)
Menu.setApplicationMenu(Menu.buildFromTemplate(menu))

@ -72,7 +72,7 @@ module.exports = {
javascriptEnabled: true,
acceptSslCerts: true,
'goog:chromeOptions': {
"binary": "release/mac/Remix-Desktop.app/Contents/MacOS/Remix-Desktop",
"binary": "release/mac-arm64/Remix-Desktop.app/Contents/MacOS/Remix-Desktop",
"args": [
"--e2e",
]

Loading…
Cancel
Save