prevent menu e2e

pull/4837/head
filip mertens 8 months ago
parent 3e6af95963
commit dbb9059b45
  1. 4
      .circleci/config.yml
  2. 2
      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,7 +132,7 @@ const menu = [...(process.platform === 'darwin' ? [darwinMenu(commandKeys, execC
WindowMenu(commandKeys, execCommand, []),
HelpMenu(commandKeys, execCommand),
]
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