Skip to content

Redirect paths from the notebooks route to the tree route if they are directories #2080

Redirect paths from the notebooks route to the tree route if they are directories

Redirect paths from the notebooks route to the tree route if they are directories #2080

Triggered via pull request August 26, 2024 07:29
Status Success
Total duration 8m 40s
Artifacts 6

ui-tests.yml

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

Annotations

2 errors and 2 notices
[firefox] › test/filebrowser.spec.ts:31:7 › File Browser › Select one file: ui-tests/test/filebrowser.spec.ts#L39
1) [firefox] › test/filebrowser.spec.ts:31:7 › File Browser › Select one file ──────────────────── Error: expect(locator).toBeVisible() Locator: getByRole('toolbar').getByText('Download') Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByRole('toolbar').getByText('Download') 37 | 38 | ['Rename', 'Delete', 'Open', 'Download', 'Delete'].forEach(async (text) => { > 39 | expect(toolbar.getByText(text)).toBeVisible(); | ^ 40 | }); 41 | }); 42 | at forEach (/home/runner/work/notebook/notebook/ui-tests/test/filebrowser.spec.ts:39:39) at /home/runner/work/notebook/notebook/ui-tests/test/filebrowser.spec.ts:38:56
[firefox] › test/notebook.spec.ts:24:7 › Notebook › Title should be rendered: ui-tests/test/notebook.spec.ts#L1
2) [firefox] › 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?1724657768678 - user-agent: Mozilla/5.0 (X11; Linux x86_64; rv:127.0) Gecko/20100101 Firefox/127.0 - accept: */* - accept-encoding: gzip, deflate, br, zstd - host: localhost:8888 - accept-language: en-US - content-type: text/plain;charset=UTF-8 - content-length: 172 - referer: http://localhost:8888/notebooks/test-notebook-Notebook-Title-should-be-rendered-firefox/example.ipynb - x-xsrftoken: 2|47314d74|b8e917cb8bfcb79783d8a2c981ded829|1724657765 - origin: http://localhost:8888 - sec-fetch-dest: empty - sec-fetch-mode: cors - sec-fetch-site: same-origin - connection: keep-alive - cookie: username-localhost-8888="2|1:0|10:1724657765|23:username-localhost-8888|200:eyJ1c2VybmFtZSI6ICJiZDVhMDZmNjk2ZmQ0ZTM5YWU1OTkyYjU1MGE0ZjQyZSIsICJuYW1lIjogIkFub255bW91cyBDaGFsZGVuZSIsICJkaXNwbGF5X25hbWUiOiAiQW5vbnltb3VzIENoYWxkZW5lIiwgImluaXRpYWxzIjogIkFDIiwgImNvbG9yIjogbnVsbH0=|1444df0e678649f23a3ae959acebfc81a533fe3129e6c0ca257319820c5b884d"; _xsrf=2|47314d74|b8e917cb8bfcb79783d8a2c981ded829|1724657765 " 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:925:49
🎭 Playwright Run Summary
2 flaky [firefox] › test/filebrowser.spec.ts:31:7 › File Browser › Select one file ───────────────────── [firefox] › test/notebook.spec.ts:24:7 › Notebook › Title should be rendered ─────────────────── 33 passed (2.1m)
🎭 Playwright Run Summary
35 passed (1.8m)

Artifacts

Produced during runtime
Name Size
notebook-chromium-test-assets Expired
184 Bytes
notebook-chromium-test-report Expired
336 KB
notebook-dist-2080 Expired
10.4 MB
notebook-firefox-test-assets Expired
3.26 MB
notebook-firefox-test-report Expired
3.9 MB
notebook-pkgs-2080 Expired
57.1 KB