From 682ea345ace76d41996165c7efa55852da9546ab Mon Sep 17 00:00:00 2001 From: Niklas Wenzel Date: Thu, 3 Apr 2025 04:33:12 +0200 Subject: [PATCH] build: reenable graphics effects for macOS tests (#46454) --- .github/workflows/pipeline-segment-electron-test.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/pipeline-segment-electron-test.yml b/.github/workflows/pipeline-segment-electron-test.yml index cddf2fe91840..a094ce1171c2 100644 --- a/.github/workflows/pipeline-segment-electron-test.yml +++ b/.github/workflows/pipeline-segment-electron-test.yml @@ -118,6 +118,12 @@ jobs: - name: Turn off the unexpectedly quit dialog on macOS if: ${{ inputs.target-platform == 'macos' }} run: defaults write com.apple.CrashReporter DialogType server + - name: Reenable graphics effects on macOS + if: ${{ inputs.target-platform == 'macos' }} + run: | + # These options to reduce graphics effects were enabled upstream in https://github.com/actions/runner-images/pull/11877 + defaults write com.apple.universalaccess reduceMotion -bool false + defaults write com.apple.universalaccess reduceTransparency -bool false - name: Checkout Electron uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: