Skip to content

Commit b5ff043

Browse files
committed
test: enable testing again on ubuntu latest
* switch to ubuntu latest again * add the --no-sandbox argument in that case Signed-off-by: Dominikus Hellgartner <dominikus.hellgartner@tngtech.com>
1 parent 274a816 commit b5ff043

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/build-and-e2e-test.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ jobs:
2222
strategy:
2323
fail-fast: false
2424
matrix:
25-
os: [ubuntu-22.04, macos-13, windows-latest]
25+
os: [ubuntu-latest, macos-13, windows-latest]
2626
include:
27-
- os: ubuntu-22.04
27+
- os: ubuntu-latest
2828
# https://github.com/microsoft/playwright/issues/11932
2929
E2E: xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- yarn test:e2e:ci
3030
- os: macos-13

src/e2e-tests/utils/fixtures.ts

+3
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,9 @@ export const test = base.extend<{
7979

8080
const [executablePath, main] = getLaunchProps();
8181
const args = ['--reset'];
82+
if (os.platform() === 'linux') {
83+
args.push('--no-sandbox');
84+
}
8285

8386
const app = await electron.launch({
8487
args: [main, ...(!filePath ? args : args.concat([filePath]))],

0 commit comments

Comments
 (0)