Redirect paths from the notebooks route to the tree route if they are directories #2080
Annotations
2 errors and 1 notice
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
|
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
|
|
This job succeeded
Loading