Browse Source

test: disable unexpectedly quit dialog on macOS (#45588)

* test: disable unexpectedly quit dialog on macOS

Co-authored-by: John Kleinschmidt <[email protected]>

* test: take screenshot before keyboard lock test

Co-authored-by: John Kleinschmidt <[email protected]>

* Revert "test: take screenshot before keyboard lock test"

This reverts commit 3ba5c6984f2946b93a74c24fe79ff346af3ea4a4.

Co-authored-by: John Kleinschmidt <[email protected]>

---------

Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: John Kleinschmidt <[email protected]>
trop[bot] 2 months ago
parent
commit
bca80f19e0
1 changed files with 3 additions and 0 deletions
  1. 3 0
      .github/workflows/pipeline-segment-electron-test.yml

+ 3 - 0
.github/workflows/pipeline-segment-electron-test.yml

@@ -113,6 +113,9 @@ jobs:
             configure_sys_tccdb "$values"
           fi
         done
+    - name: Turn off the unexpectedly quit dialog on macOS
+      if: ${{ inputs.target-platform == 'macos' }}
+      run: defaults write com.apple.CrashReporter DialogType server
     - name: Checkout Electron
       uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
       with: