Skip to content

Update workflow improvements #2248

Update workflow improvements

Update workflow improvements #2248

Triggered via pull request December 21, 2024 18:15
Status Success
Total duration 8m 46s
Artifacts 6

ui-tests.yml

on: pull_request
Matrix: ui-tests
Fit to window
Zoom out
Zoom in

Annotations

5 errors, 1 warning, and 2 notices
[chromium] › test/notebook.spec.ts:24:7 › Notebook › Title should be rendered: ui-tests/test/notebook.spec.ts#L1
1) [chromium] › test/notebook.spec.ts:24:7 › Notebook › Title should be rendered ───────────────── Error: "apiRequestContext.fetch: Target page, context or browser has been closed Call log: - → POST http://localhost:8888/api/sessions?1734805291577 - user-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/130.0.6723.31 Safari/537.36 - accept: */* - accept-encoding: gzip,deflate,br - accept-language: en-US - content-type: text/plain;charset=UTF-8 - cookie: username-localhost-8888="2|1:0|10:1734805289|23:username-localhost-8888|196:eyJ1c2VybmFtZSI6ICIwZDFhZjY3ODIzZWM0NzRhODIyMWQ1MThmM2E3ODVhZiIsICJuYW1lIjogIkFub255bW91cyBFdXJvcGEiLCAiZGlzcGxheV9uYW1lIjogIkFub255bW91cyBFdXJvcGEiLCAiaW5pdGlhbHMiOiAiQUUiLCAiY29sb3IiOiBudWxsfQ==|4908535ef63410ecfaa1e66f9c2ae24c8bafbf3c96d12a97cc37294093d079d2"; _xsrf=2|52664bfe|64440765e9523949bdf4af5a77bf2423|1734805289 - origin: http://localhost:8888 - referer: http://localhost:8888/notebooks/test-notebook-Notebook-Title-should-be-rendered-chromium/example.ipynb - x-xsrftoken: 2|52664bfe|64440765e9523949bdf4af5a77bf2423|1734805289 - sec-ch-ua: "Chromium";v="130", "HeadlessChrome";v="130", "Not?A_Brand";v="99" - sec-ch-ua-mobile: ?0 - sec-ch-ua-platform: "Linux" - content-length: 173 - ← 201 Created - server: TornadoServer/6.4.2 - content-type: application/json - date: Sat, 21 Dec 2024 18:21:31 GMT - x-content-type-options: nosniff - content-security-policy: frame-ancestors 'self'; report-uri /api/security/csp-report; default-src 'none' - location: /api/sessions/66b37ae2-4d87-44eb-acf4-7946794ee549 - content-length: 514 " while running route callback. Consider awaiting `await page.unrouteAll({ behavior: 'ignoreErrors' })` before the end of the test to ignore remaining routes in flight. at /home/runner/work/notebook/notebook/ui-tests/node_modules/@jupyterlab/galata/src/galata.ts:961:49
[firefox] › test/filebrowser.spec.ts:32:7 › File Browser › Select one file: ui-tests/test/filebrowser.spec.ts#L41
1) [firefox] › test/filebrowser.spec.ts:32:7 › File Browser › Select one file ──────────────────── Error: expect(locator).toBeVisible() Locator: getByRole('toolbar').getByText('Delete') Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByRole('toolbar').getByText('Delete') 39 | 40 | ['Rename', 'Delete', 'Open', 'Download', 'Delete'].forEach(async (text) => { > 41 | expect(toolbar.getByText(text)).toBeVisible(); | ^ 42 | }); 43 | }); 44 | at forEach (/home/runner/work/notebook/notebook/ui-tests/test/filebrowser.spec.ts:41:39) at /home/runner/work/notebook/notebook/ui-tests/test/filebrowser.spec.ts:40:56
[firefox] › test/filebrowser.spec.ts:45:7 › File Browser › Select files and folders: ui-tests/test/filebrowser.spec.ts#L57
2) [firefox] › test/filebrowser.spec.ts:45:7 › File Browser › Select files and folders ─────────── Error: expect(locator).toBeVisible() Locator: getByRole('toolbar').getByText('Delete') Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByRole('toolbar').getByText('Delete') 55 | expect(toolbar.getByText('Rename')).toBeHidden(); 56 | expect(toolbar.getByText('Open')).toBeHidden(); > 57 | expect(toolbar.getByText('Delete')).toBeVisible(); | ^ 58 | }); 59 | 60 | test('Select files and open', async ({ page, tmpPath }) => { at /home/runner/work/notebook/notebook/ui-tests/test/filebrowser.spec.ts:57:41
[firefox] › test/links.spec.ts:37:7 › Local Links › Open a folder: ui-tests/test/links.spec.ts#L1
3) [firefox] › test/links.spec.ts:37:7 › Local Links › Open a folder ───────────────────────────── Test timeout of 60000ms exceeded.
[firefox] › test/links.spec.ts:37:7 › Local Links › Open a folder: ui-tests/test/links.spec.ts#L44
3) [firefox] › test/links.spec.ts:37:7 › Local Links › Open a folder ───────────────────────────── Error: proxy.waitForEvent: Test timeout of 60000ms exceeded. =========================== logs =========================== waiting for event "popup" ============================================================ 42 | 43 | const [folder] = await Promise.all([ > 44 | page.waitForEvent('popup'), | ^ 45 | page.getByText('Open Test Folder').last().click(), 46 | ]); 47 | at /home/runner/work/notebook/notebook/ui-tests/test/links.spec.ts:44:12
Build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
🎭 Playwright Run Summary
1 flaky [chromium] › test/notebook.spec.ts:24:7 › Notebook › Title should be rendered ────────────────── 35 passed (1.6m)
🎭 Playwright Run Summary
3 flaky [firefox] › test/filebrowser.spec.ts:32:7 › File Browser › Select one file ───────────────────── [firefox] › test/filebrowser.spec.ts:45:7 › File Browser › Select files and folders ──────────── [firefox] › test/links.spec.ts:37:7 › Local Links › Open a folder ────────────────────────────── 33 passed (2.5m)

Artifacts

Produced during runtime
Name Size
notebook-chromium-test-assets
2.75 MB
notebook-chromium-test-report
3.36 MB
notebook-dist-2248
24.7 MB
notebook-firefox-test-assets
3.09 MB
notebook-firefox-test-report
3.75 MB
notebook-pkgs-2248
57.4 KB