Skip to content

Commit 0768f6f

Browse files
authored
Change local sandbox permissions
1 parent 0723ea3 commit 0768f6f

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/testing_dev_e2e_with_live_services.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,12 @@ jobs:
8686

8787
- if: matrix.os == 'ubuntu-latest'
8888
name: Run tests with xvfb
89-
run: xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- npm run coverage:tutorial
89+
run: |
90+
# Adjust Chrome sandbox (used by Puppeteer) owner and permissions to bypass Ubuntu 24.04's
91+
# new restrictions for AppImage apps. https://github.com/electron/electron/issues/42510
92+
sudo chown root ./node_modules/electron/dist/chrome-sandbox
93+
sudo chmod 4755 ./node_modules/electron/dist/chrome-sandbox
94+
xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- npm run coverage:tutorial
9095
9196
- name: Archive E2E Test Screenshots
9297
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)