prevent menu e2e

pull/4837/head
filip mertens 8 months ago
parent 3e6af95963
commit dbb9059b45
  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: | command: |
nvm use 20 nvm use 20
cd apps/remixdesktop cd apps/remixdesktop
yarn installRipGrepMacOXx64 yarn installRipGrepMacOXarm64
PUBLISH_FOR_PULL_REQUEST='false' USE_HARD_LINKS=false yarn dist --x64 PUBLISH_FOR_PULL_REQUEST='false' USE_HARD_LINKS=false yarn dist --arm64
- run: - run:
name: "Run tests" name: "Run tests"
command: | command: |

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

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

Loading…
Cancel
Save