Skip to content

Add webpack prod config #2193

Add webpack prod config

Add webpack prod config #2193

Triggered via pull request November 5, 2024 16:06
Status Success
Total duration 8m 2s
Artifacts 6

ui-tests.yml

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

Annotations

3 errors 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?1730823182152 - 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:1730823179|23:username-localhost-8888|196:eyJ1c2VybmFtZSI6ICIzMjBjNTY3MGUyMWQ0YjNmOTRhZjhiYjM0ZDkxMmMyMiIsICJuYW1lIjogIkFub255bW91cyBFdXJvcGEiLCAiZGlzcGxheV9uYW1lIjogIkFub255bW91cyBFdXJvcGEiLCAiaW5pdGlhbHMiOiAiQUUiLCAiY29sb3IiOiBudWxsfQ==|37145fb6479585527d8a3161e0873f9ee38e5a42e26799e356bfcb741578c71b"; _xsrf=2|46e55a75|e902e0b677ee94265900c0bc3d7b9cbf|1730823179 - origin: http://localhost:8888 - referer: http://localhost:8888/notebooks/test-notebook-Notebook-Title-should-be-rendered-chromium/example.ipynb - x-xsrftoken: 2|46e55a75|e902e0b677ee94265900c0bc3d7b9cbf|1730823179 - 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 " 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
🎭 Playwright Run Summary
1 flaky [chromium] › test/notebook.spec.ts:24:7 › Notebook › Title should be rendered ────────────────── 35 passed (1.7m)
🎭 Playwright Run Summary
2 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 ──────────── 34 passed (2.0m)

Artifacts

Produced during runtime
Name Size
notebook-chromium-test-assets
2.81 MB
notebook-chromium-test-report
3.46 MB
notebook-dist-2193
24.2 MB
notebook-firefox-test-assets
1.09 MB
notebook-firefox-test-report
1.75 MB
notebook-pkgs-2193
57.6 KB