Skip to content

Add a setting to enable the notebook to take up the full width #2149

Add a setting to enable the notebook to take up the full width

Add a setting to enable the notebook to take up the full width #2149

Triggered via pull request October 22, 2024 20:39
Status Failure
Total duration 10m 40s
Artifacts 8

ui-tests.yml

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

Annotations

10 errors and 4 notices
[chromium] › test/notebook.spec.ts:179:7 › Notebook › Toggle the full width of the notebook: ui-tests/test/notebook.spec.ts#L212
1) [chromium] › test/notebook.spec.ts:179:7 › Notebook › Toggle the full width of the notebook ─── Error: Screenshot comparison failed: 10 pixels (ratio 0.01 of all image pixels) are different. Expected: /home/runner/work/notebook/notebook/ui-tests/test/notebook.spec.ts-snapshots/notebook-full-width-chromium-linux.png Received: /home/runner/work/notebook/notebook/ui-tests/test-results/test-notebook-Notebook-Toggle-the-full-width-of-the-notebook-chromium/notebook-full-width-actual.png Diff: /home/runner/work/notebook/notebook/ui-tests/test-results/test-notebook-Notebook-Toggle-the-full-width-of-the-notebook-chromium/notebook-full-width-diff.png 210 | ); 211 | > 212 | expect(await page.screenshot()).toMatchSnapshot('notebook-full-width.png'); | ^ 213 | 214 | // undo the full width 215 | await page.menu.clickMenuItem(menuPath); at /home/runner/work/notebook/notebook/ui-tests/test/notebook.spec.ts:212:37
[chromium] › test/notebook.spec.ts:179:7 › Notebook › Toggle the full width of the notebook: ui-tests/test/notebook.spec.ts#L212
1) [chromium] › test/notebook.spec.ts:179:7 › Notebook › Toggle the full width of the notebook ─── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Screenshot comparison failed: 10 pixels (ratio 0.01 of all image pixels) are different. Expected: /home/runner/work/notebook/notebook/ui-tests/test/notebook.spec.ts-snapshots/notebook-full-width-chromium-linux.png Received: /home/runner/work/notebook/notebook/ui-tests/test-results/test-notebook-Notebook-Toggle-the-full-width-of-the-notebook-chromium-retry1/notebook-full-width-actual.png Diff: /home/runner/work/notebook/notebook/ui-tests/test-results/test-notebook-Notebook-Toggle-the-full-width-of-the-notebook-chromium-retry1/notebook-full-width-diff.png 210 | ); 211 | > 212 | expect(await page.screenshot()).toMatchSnapshot('notebook-full-width.png'); | ^ 213 | 214 | // undo the full width 215 | await page.menu.clickMenuItem(menuPath); at /home/runner/work/notebook/notebook/ui-tests/test/notebook.spec.ts:212:37
ui-tests (chromium)
Process completed with exit code 1.
[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/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:179:7 › Notebook › Toggle the full width of the notebook: ui-tests/test/notebook.spec.ts#L212
1) [firefox] › test/notebook.spec.ts:179:7 › Notebook › Toggle the full width of the notebook ──── Error: Screenshot comparison failed: 418 pixels (ratio 0.01 of all image pixels) are different. Expected: /home/runner/work/notebook/notebook/ui-tests/test/notebook.spec.ts-snapshots/notebook-full-width-firefox-linux.png Received: /home/runner/work/notebook/notebook/ui-tests/test-results/test-notebook-Notebook-Toggle-the-full-width-of-the-notebook-firefox/notebook-full-width-actual.png Diff: /home/runner/work/notebook/notebook/ui-tests/test-results/test-notebook-Notebook-Toggle-the-full-width-of-the-notebook-firefox/notebook-full-width-diff.png 210 | ); 211 | > 212 | expect(await page.screenshot()).toMatchSnapshot('notebook-full-width.png'); | ^ 213 | 214 | // undo the full width 215 | await page.menu.clickMenuItem(menuPath); at /home/runner/work/notebook/notebook/ui-tests/test/notebook.spec.ts:212:37
[firefox] › test/notebook.spec.ts:179:7 › Notebook › Toggle the full width of the notebook: ui-tests/test/notebook.spec.ts#L212
1) [firefox] › test/notebook.spec.ts:179:7 › Notebook › Toggle the full width of the notebook ──── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Screenshot comparison failed: 329 pixels (ratio 0.01 of all image pixels) are different. Expected: /home/runner/work/notebook/notebook/ui-tests/test/notebook.spec.ts-snapshots/notebook-full-width-firefox-linux.png Received: /home/runner/work/notebook/notebook/ui-tests/test-results/test-notebook-Notebook-Toggle-the-full-width-of-the-notebook-firefox-retry1/notebook-full-width-actual.png Diff: /home/runner/work/notebook/notebook/ui-tests/test-results/test-notebook-Notebook-Toggle-the-full-width-of-the-notebook-firefox-retry1/notebook-full-width-diff.png 210 | ); 211 | > 212 | expect(await page.screenshot()).toMatchSnapshot('notebook-full-width.png'); | ^ 213 | 214 | // undo the full width 215 | await page.menu.clickMenuItem(menuPath); at /home/runner/work/notebook/notebook/ui-tests/test/notebook.spec.ts:212:37
[firefox] › test/filebrowser.spec.ts:31:7 › File Browser › Select one file: ui-tests/test/filebrowser.spec.ts#L39
2) [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/filebrowser.spec.ts:43:7 › File Browser › Select files and folders: ui-tests/test/filebrowser.spec.ts#L55
3) [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
ui-tests (firefox)
Process completed with exit code 1.
🎭 Playwright Run Summary
36 passed (1.7m)
🎭 Playwright Run Summary
1 failed [chromium] › test/notebook.spec.ts:179:7 › Notebook › Toggle the full width of the notebook ──── 35 passed (1.9m)
🎭 Playwright Run Summary
2 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 ──────────── 34 passed (2.0m)
🎭 Playwright Run Summary
1 failed [firefox] › test/notebook.spec.ts:179:7 › Notebook › Toggle the full width of the notebook ───── 2 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 ──────────── 33 passed (2.2m)

Artifacts

Produced during runtime
Name Size
notebook-chromium-test-assets
2.02 MB
notebook-chromium-test-report
2.62 MB
notebook-chromium-updated-snapshots
338 KB
notebook-dist-2149
9.5 MB
notebook-firefox-test-assets
2.83 MB
notebook-firefox-test-report
3.49 MB
notebook-firefox-updated-snapshots
392 KB
notebook-pkgs-2149
57.4 KB