Skip to content

Remove the StateDB file browser trick (#7477) #2127

Remove the StateDB file browser trick (#7477)

Remove the StateDB file browser trick (#7477) #2127

Triggered via push October 14, 2024 20:29
Status Success
Total duration 8m 40s
Artifacts 5

ui-tests.yml

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

Annotations

4 errors, 1 warning, 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('Delete') Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByRole('toolbar').getByText('Delete') 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/filebrowser.spec.ts:43:7 › File Browser › Select files and folders: ui-tests/test/filebrowser.spec.ts#L55
2) [firefox] › test/filebrowser.spec.ts:43: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') 53 | expect(toolbar.getByText('Rename')).toBeHidden(); 54 | expect(toolbar.getByText('Open')).toBeHidden(); > 55 | expect(toolbar.getByText('Delete')).toBeVisible(); | ^ 56 | }); 57 | 58 | test('Select files and open', async ({ page, tmpPath }) => { at /home/runner/work/notebook/notebook/ui-tests/test/filebrowser.spec.ts:55:41
[firefox] › test/notebook.spec.ts:24:7 › Notebook › Title should be rendered: ui-tests/test/notebook.spec.ts#L1
3) [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?1728938191061 - user-agent: Mozilla/5.0 (X11; Linux x86_64; rv:128.0) Gecko/20100101 Firefox/128.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|3171b639|a53ece3bb7c5f4a1d1655207775f2a2d|1728938188 - 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:1728938188|23:username-localhost-8888|196:eyJ1c2VybmFtZSI6ICJhMWJjMmRmNTI0YzU0ZmRjOTMyMDU4MGI0NjA0ZjFmZSIsICJuYW1lIjogIkFub255bW91cyBBdXRvbm9lIiwgImRpc3BsYXlfbmFtZSI6ICJBbm9ueW1vdXMgQXV0b25vZSIsICJpbml0aWFscyI6ICJBQSIsICJjb2xvciI6IG51bGx9|7bc9796b45929e023708b2e453c5bbf7850b58c16514017a241877ebf7f04051; _xsrf=2|3171b639|a53ece3bb7c5f4a1d1655207775f2a2d|1728938188 " 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/notebook.spec.ts:24:7 › Notebook › Title should be rendered: ui-tests/test/notebook.spec.ts#L1
3) [firefox] › test/notebook.spec.ts:24:7 › Notebook › Title should be rendered ────────────────── Error: Test ended. Browser logs: <launching> /home/runner/.cache/ms-playwright/firefox-1458/firefox/firefox -no-remote -headless -profile /tmp/playwright_firefoxdev_profile-25LmWr -juggler-pipe -silent <launched> pid=5344 [pid=5344][err] *** You are running in headless mode. [pid=5344][err] JavaScript warning: resource://services-settings/Utils.sys.mjs, line 114: unreachable code after return statement [pid=5344][out] console.warn: services.settings: Ignoring preference override of remote settings server [pid=5344][out] console.warn: services.settings: Allow by setting MOZ_REMOTE_SETTINGS_DEVTOOLS=1 in the environment [pid=5344][out] Crash Annotation GraphicsCriticalError: |[0][GFX1-]: glxtest: Unable to open a connection to the X server (t=0.402771) [GFX1-]: glxtest: Unable to open a connection to the X server [pid=5344][out] console.error: ({}) [pid=5344][out] [pid=5344][out] Juggler listening to the pipe [pid=5344][out] console.error: ({}) [pid=5344][out] console.error: SearchEngineSelector: "Received empty search configuration!" [pid=5344][out] console.error: "Received empty top sites configuration!" [pid=5344][out] console.error: SearchEngineSelector: "Received empty search configuration!" [pid=5344][out] console.error: SearchService: "#init: failure initializing search:" ({}) [pid=5344][err] JavaScript error: resource://gre/modules/SearchEngineSelector.sys.mjs, line 73: NS_ERROR_UNEXPECTED: Failed to get engine data from Remote Settings [pid=5344][err] JavaScript error: resource://gre/modules/SearchEngineSelector.sys.mjs, line 73: NS_ERROR_UNEXPECTED: Failed to get engine data from Remote Settings [pid=5344][err] JavaScript error: resource://gre/modules/SearchEngineSelector.sys.mjs, line 73: NS_ERROR_UNEXPECTED: Failed to get engine data from Remote Settings [pid=5344][err] JavaScript error: resource://gre/modules/SearchEngineSelector.sys.mjs, line 73: NS_ERROR_UNEXPECTED: Failed to get engine data from Remote Settings [pid=5344][out] console.error: "Received empty top sites configuration!" [pid=5344][out] console.error: WebExtensions: [pid=5344][out] Message: [Exception... "Failed to get engine data from Remote Settings" nsresult: "0x8000ffff (NS_ERROR_UNEXPECTED)" location: "JS frame :: resource://gre/modules/SearchEngineSelector.sys.mjs :: getEngineConfiguration :: line 73" data: no] [pid=5344][out] Stack: [pid=5344][out] getEngineConfiguration@resource://gre/modules/SearchEngineSelector.sys.mjs:73:24 [pid=5344][out] [pid=5344][out] console.error: URLBar - Provider.UrlbarProviderSearchTips: ({}) [pid=5344][out] console.error: SearchSettings: "_write: Could not write to settings file:" (new Error("cannot write without any engine.", "resource://gre/modules/SearchSettings.sys.mjs", 303)) [pid=5344][err] JavaScript error: http://localhost:8888/static/notebook/5573.bundle.js, line 1: TypeError: s is undefined [pid=5344][err] JavaScript error: http://localhost:8888/static/notebook/5573.bundle.js, line 1: TypeError: s is undefined [pid=5344][err] JavaScript error: chrome://juggler/content/Helper.js, line 82: NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIWebProgress.removeProgressListener] [pid=5344][err] JavaScript error: resource://gre/modules/SearchEngineSelector.sys.mjs, line 73: NS_ERROR_UNEXPECTED: Failed to get engine data from Remote Settings [pid=5344][out] console.error: URLBar - Provider.UrlbarProviderSearchTips: ({}) [pid=5344][err] JavaScript error: http://localhost:8888/static/notebook/5573.bundle.js, line 1: TypeError: s is undefined [pid=5344][err] JavaScript error: http://localhost:8888/static/notebook/5573.bundle.js, line 1: TypeError: s is undefined [pid=5344][err] JavaScript error: chrome://juggler/content/Helper.js, line 82: NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILUR
ui-tests (chromium)
No files were found with the provided path: ui-tests/test-results. No artifacts will be uploaded.
🎭 Playwright Run Summary
35 passed (1.8m)
🎭 Playwright Run Summary
3 flaky [firefox] › test/filebrowser.spec.ts:31:7 › File Browser › Select one file ───────────────────── [firefox] › test/filebrowser.spec.ts:43:7 › File Browser › Select files and folders ──────────── [firefox] › test/notebook.spec.ts:24:7 › Notebook › Title should be rendered ─────────────────── 32 passed (2.1m)

Artifacts

Produced during runtime
Name Size
notebook-chromium-test-report
344 KB
notebook-dist-2127
9.49 MB
notebook-firefox-test-assets
3.56 MB
notebook-firefox-test-report
4.23 MB
notebook-pkgs-2127
57.1 KB