Skip to content

test: Playwright e2e suite (first-run smoke + env-backed welcome) #10

test: Playwright e2e suite (first-run smoke + env-backed welcome)

test: Playwright e2e suite (first-run smoke + env-backed welcome) #10

Triggered via pull request May 27, 2026 23:33
Status Failure
Total duration 1m 31s
Artifacts 1

e2e.yml

on: pull_request
Playwright (Linux)
1m 27s
Playwright (Linux)
Fit to window
Zoom out
Zoom in

Annotations

10 errors, 1 warning, and 1 notice
[electron] › test/e2e/smoke.test.ts:15:5 › on first run the Welcome window renders: test/e2e/helpers.ts#L46
4) [electron] › test/e2e/smoke.test.ts:15:5 › on first run the Welcome window renders ──────────── Error: electron.launch: Electron failed to install correctly, please delete node_modules/electron and try installing again at helpers.ts:46 44 | } 45 | try { > 46 | const app = await electron.launch({ | ^ 47 | args: ['.', `--user-data-dir=${userDataDir}`] 48 | }); 49 | await stubAllDialogs(app); at launchApp (/home/runner/work/jupyterlab-desktop/jupyterlab-desktop/test/e2e/helpers.ts:46:17) at /home/runner/work/jupyterlab-desktop/jupyterlab-desktop/test/e2e/smoke.test.ts:16:32
[electron] › test/e2e/smoke.test.ts:4:5 › app launches and opens at least one window: test/e2e/helpers.ts#L46
3) [electron] › test/e2e/smoke.test.ts:4:5 › app launches and opens at least one window ────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: electron.launch: Electron failed to install correctly, please delete node_modules/electron and try installing again at helpers.ts:46 44 | } 45 | try { > 46 | const app = await electron.launch({ | ^ 47 | args: ['.', `--user-data-dir=${userDataDir}`] 48 | }); 49 | await stubAllDialogs(app); at launchApp (/home/runner/work/jupyterlab-desktop/jupyterlab-desktop/test/e2e/helpers.ts:46:17) at /home/runner/work/jupyterlab-desktop/jupyterlab-desktop/test/e2e/smoke.test.ts:5:32
[electron] › test/e2e/smoke.test.ts:4:5 › app launches and opens at least one window: test/e2e/helpers.ts#L46
3) [electron] › test/e2e/smoke.test.ts:4:5 › app launches and opens at least one window ────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: electron.launch: Electron failed to install correctly, please delete node_modules/electron and try installing again at helpers.ts:46 44 | } 45 | try { > 46 | const app = await electron.launch({ | ^ 47 | args: ['.', `--user-data-dir=${userDataDir}`] 48 | }); 49 | await stubAllDialogs(app); at launchApp (/home/runner/work/jupyterlab-desktop/jupyterlab-desktop/test/e2e/helpers.ts:46:17) at /home/runner/work/jupyterlab-desktop/jupyterlab-desktop/test/e2e/smoke.test.ts:5:32
[electron] › test/e2e/smoke.test.ts:4:5 › app launches and opens at least one window: test/e2e/helpers.ts#L46
3) [electron] › test/e2e/smoke.test.ts:4:5 › app launches and opens at least one window ────────── Error: electron.launch: Electron failed to install correctly, please delete node_modules/electron and try installing again at helpers.ts:46 44 | } 45 | try { > 46 | const app = await electron.launch({ | ^ 47 | args: ['.', `--user-data-dir=${userDataDir}`] 48 | }); 49 | await stubAllDialogs(app); at launchApp (/home/runner/work/jupyterlab-desktop/jupyterlab-desktop/test/e2e/helpers.ts:46:17) at /home/runner/work/jupyterlab-desktop/jupyterlab-desktop/test/e2e/smoke.test.ts:5:32
[electron] › test/e2e/python-env.test.ts:32:7 › with a seeded Python environment › "New notebook" boots a server and the labview reaches its URL: test/e2e/helpers.ts#L46
2) [electron] › test/e2e/python-env.test.ts:32:7 › with a seeded Python environment › "New notebook" boots a server and the labview reaches its URL Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: electron.launch: Electron failed to install correctly, please delete node_modules/electron and try installing again at helpers.ts:46 44 | } 45 | try { > 46 | const app = await electron.launch({ | ^ 47 | args: ['.', `--user-data-dir=${userDataDir}`] 48 | }); 49 | await stubAllDialogs(app); at launchApp (/home/runner/work/jupyterlab-desktop/jupyterlab-desktop/test/e2e/helpers.ts:46:17) at /home/runner/work/jupyterlab-desktop/jupyterlab-desktop/test/e2e/python-env.test.ts:34:34
[electron] › test/e2e/python-env.test.ts:32:7 › with a seeded Python environment › "New notebook" boots a server and the labview reaches its URL: test/e2e/helpers.ts#L46
2) [electron] › test/e2e/python-env.test.ts:32:7 › with a seeded Python environment › "New notebook" boots a server and the labview reaches its URL Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: electron.launch: Electron failed to install correctly, please delete node_modules/electron and try installing again at helpers.ts:46 44 | } 45 | try { > 46 | const app = await electron.launch({ | ^ 47 | args: ['.', `--user-data-dir=${userDataDir}`] 48 | }); 49 | await stubAllDialogs(app); at launchApp (/home/runner/work/jupyterlab-desktop/jupyterlab-desktop/test/e2e/helpers.ts:46:17) at /home/runner/work/jupyterlab-desktop/jupyterlab-desktop/test/e2e/python-env.test.ts:34:34
[electron] › test/e2e/python-env.test.ts:32:7 › with a seeded Python environment › "New notebook" boots a server and the labview reaches its URL: test/e2e/helpers.ts#L46
2) [electron] › test/e2e/python-env.test.ts:32:7 › with a seeded Python environment › "New notebook" boots a server and the labview reaches its URL Error: electron.launch: Electron failed to install correctly, please delete node_modules/electron and try installing again at helpers.ts:46 44 | } 45 | try { > 46 | const app = await electron.launch({ | ^ 47 | args: ['.', `--user-data-dir=${userDataDir}`] 48 | }); 49 | await stubAllDialogs(app); at launchApp (/home/runner/work/jupyterlab-desktop/jupyterlab-desktop/test/e2e/helpers.ts:46:17) at /home/runner/work/jupyterlab-desktop/jupyterlab-desktop/test/e2e/python-env.test.ts:34:34
[electron] › test/e2e/python-env.test.ts:16:7 › with a seeded Python environment › the welcome local-server actions are enabled: test/e2e/helpers.ts#L46
1) [electron] › test/e2e/python-env.test.ts:16:7 › with a seeded Python environment › the welcome local-server actions are enabled Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: electron.launch: Electron failed to install correctly, please delete node_modules/electron and try installing again at helpers.ts:46 44 | } 45 | try { > 46 | const app = await electron.launch({ | ^ 47 | args: ['.', `--user-data-dir=${userDataDir}`] 48 | }); 49 | await stubAllDialogs(app); at launchApp (/home/runner/work/jupyterlab-desktop/jupyterlab-desktop/test/e2e/helpers.ts:46:17) at /home/runner/work/jupyterlab-desktop/jupyterlab-desktop/test/e2e/python-env.test.ts:17:34
[electron] › test/e2e/python-env.test.ts:16:7 › with a seeded Python environment › the welcome local-server actions are enabled: test/e2e/helpers.ts#L46
1) [electron] › test/e2e/python-env.test.ts:16:7 › with a seeded Python environment › the welcome local-server actions are enabled Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: electron.launch: Electron failed to install correctly, please delete node_modules/electron and try installing again at helpers.ts:46 44 | } 45 | try { > 46 | const app = await electron.launch({ | ^ 47 | args: ['.', `--user-data-dir=${userDataDir}`] 48 | }); 49 | await stubAllDialogs(app); at launchApp (/home/runner/work/jupyterlab-desktop/jupyterlab-desktop/test/e2e/helpers.ts:46:17) at /home/runner/work/jupyterlab-desktop/jupyterlab-desktop/test/e2e/python-env.test.ts:17:34
[electron] › test/e2e/python-env.test.ts:16:7 › with a seeded Python environment › the welcome local-server actions are enabled: test/e2e/helpers.ts#L46
1) [electron] › test/e2e/python-env.test.ts:16:7 › with a seeded Python environment › the welcome local-server actions are enabled Error: electron.launch: Electron failed to install correctly, please delete node_modules/electron and try installing again at helpers.ts:46 44 | } 45 | try { > 46 | const app = await electron.launch({ | ^ 47 | args: ['.', `--user-data-dir=${userDataDir}`] 48 | }); 49 | await stubAllDialogs(app); at launchApp (/home/runner/work/jupyterlab-desktop/jupyterlab-desktop/test/e2e/helpers.ts:46:17) at /home/runner/work/jupyterlab-desktop/jupyterlab-desktop/test/e2e/python-env.test.ts:17:34
Playwright (Linux)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830, actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
🎭 Playwright Run Summary
6 failed [electron] › test/e2e/python-env.test.ts:16:7 › with a seeded Python environment › the welcome local-server actions are enabled [electron] › test/e2e/python-env.test.ts:32:7 › with a seeded Python environment › "New notebook" boots a server and the labview reaches its URL [electron] › test/e2e/smoke.test.ts:4:5 › app launches and opens at least one window ─────────── [electron] › test/e2e/smoke.test.ts:15:5 › on first run the Welcome window renders ───────────── [electron] › test/e2e/smoke.test.ts:31:5 › the session window composes multiple views (titlebar + welcome + content) [electron] › test/e2e/smoke.test.ts:48:5 › app shuts down cleanly without hanging ──────────────

Artifacts

Produced during runtime
Name Size Digest
playwright-report Expired
726 KB
sha256:b084bbb97d3b27cc53659623b14920e36a245b541357c375a8b9e9705821f65e