Skip to content

Commit

Permalink
Change local sandbox permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
rly authored Dec 11, 2024
1 parent 0723ea3 commit 0768f6f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/testing_dev_e2e_with_live_services.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,12 @@ jobs:

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

0 comments on commit 0768f6f

Please sign in to comment.