Snapshot #351
Annotations
10 errors, 1 warning, and 1 notice
Test:
galata/test/jupyterlab/menus.test.ts#L36
1) [jupyterlab] › test/jupyterlab/menus.test.ts:30:9 › General Tests › Open menu item File ───────
Error: Screenshot comparison failed:
3 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/jupyterlab/jupyterlab/galata/test-results/test-jupyterlab-menus-General-Tests-Open-menu-item-File-jupyterlab/opened-menu-file-expected.png
Received: /home/runner/work/jupyterlab/jupyterlab/galata/test-results/test-jupyterlab-menus-General-Tests-Open-menu-item-File-jupyterlab/opened-menu-file-actual.png
Diff: /home/runner/work/jupyterlab/jupyterlab/galata/test-results/test-jupyterlab-menus-General-Tests-Open-menu-item-File-jupyterlab/opened-menu-file-diff.png
34 | const imageName = `opened-menu-${menuPath.replace(/>/g, '-')}.png`;
35 | const menu = await page.menu.getOpenMenuLocator();
> 36 | expect(await menu.screenshot()).toMatchSnapshot(imageName.toLowerCase());
| ^
37 | });
38 | });
39 |
at /home/runner/work/jupyterlab/jupyterlab/galata/test/jupyterlab/menus.test.ts:36:39
|
Test:
galata/test/jupyterlab/menus.test.ts#L36
1) [jupyterlab] › test/jupyterlab/menus.test.ts:30:9 › General Tests › Open menu item File ───────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
3 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/jupyterlab/jupyterlab/galata/test-results/test-jupyterlab-menus-General-Tests-Open-menu-item-File-jupyterlab-retry1/opened-menu-file-expected.png
Received: /home/runner/work/jupyterlab/jupyterlab/galata/test-results/test-jupyterlab-menus-General-Tests-Open-menu-item-File-jupyterlab-retry1/opened-menu-file-actual.png
Diff: /home/runner/work/jupyterlab/jupyterlab/galata/test-results/test-jupyterlab-menus-General-Tests-Open-menu-item-File-jupyterlab-retry1/opened-menu-file-diff.png
34 | const imageName = `opened-menu-${menuPath.replace(/>/g, '-')}.png`;
35 | const menu = await page.menu.getOpenMenuLocator();
> 36 | expect(await menu.screenshot()).toMatchSnapshot(imageName.toLowerCase());
| ^
37 | });
38 | });
39 |
at /home/runner/work/jupyterlab/jupyterlab/galata/test/jupyterlab/menus.test.ts:36:39
|
Test:
galata/test/jupyterlab/menus.test.ts#L36
2) [jupyterlab] › test/jupyterlab/menus.test.ts:30:9 › General Tests › Open menu item File>Workspaces
Error: A snapshot doesn't exist at /home/runner/work/jupyterlab/jupyterlab/galata/test/jupyterlab/menus.test.ts-snapshots/opened-menu-file-workspaces-jupyterlab-linux.png.
34 | const imageName = `opened-menu-${menuPath.replace(/>/g, '-')}.png`;
35 | const menu = await page.menu.getOpenMenuLocator();
> 36 | expect(await menu.screenshot()).toMatchSnapshot(imageName.toLowerCase());
| ^
37 | });
38 | });
39 |
at /home/runner/work/jupyterlab/jupyterlab/galata/test/jupyterlab/menus.test.ts:36:39
|
Test:
galata/test/jupyterlab/menus.test.ts#L36
2) [jupyterlab] › test/jupyterlab/menus.test.ts:30:9 › General Tests › Open menu item File>Workspaces
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: A snapshot doesn't exist at /home/runner/work/jupyterlab/jupyterlab/galata/test/jupyterlab/menus.test.ts-snapshots/opened-menu-file-workspaces-jupyterlab-linux.png, writing actual.
34 | const imageName = `opened-menu-${menuPath.replace(/>/g, '-')}.png`;
35 | const menu = await page.menu.getOpenMenuLocator();
> 36 | expect(await menu.screenshot()).toMatchSnapshot(imageName.toLowerCase());
| ^
37 | });
38 | });
39 |
at /home/runner/work/jupyterlab/jupyterlab/galata/test/jupyterlab/menus.test.ts:36:39
|
Test:
galata/test/jupyterlab/notebook-create.test.ts#L68
3) [jupyterlab] › test/jupyterlab/notebook-create.test.ts:57:9 › Notebook Create › Open menu item File
Error: Screenshot comparison failed:
3 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/jupyterlab/jupyterlab/galata/test-results/test-jupyterlab-notebook-create-Notebook-Create-Open-menu-item-File-jupyterlab/opened-menu-file-expected.png
Received: /home/runner/work/jupyterlab/jupyterlab/galata/test-results/test-jupyterlab-notebook-create-Notebook-Create-Open-menu-item-File-jupyterlab/opened-menu-file-actual.png
Diff: /home/runner/work/jupyterlab/jupyterlab/galata/test-results/test-jupyterlab-notebook-create-Notebook-Create-Open-menu-item-File-jupyterlab/opened-menu-file-diff.png
66 | const imageName = `opened-menu-${menuPath.replace(/>/g, '-')}.png`;
67 | const menu = await page.menu.getOpenMenuLocator();
> 68 | expect(await menu!.screenshot()).toMatchSnapshot(imageName.toLowerCase());
| ^
69 | });
70 | });
71 |
at /home/runner/work/jupyterlab/jupyterlab/galata/test/jupyterlab/notebook-create.test.ts:68:40
|
Test:
galata/test/jupyterlab/notebook-create.test.ts#L68
3) [jupyterlab] › test/jupyterlab/notebook-create.test.ts:57:9 › Notebook Create › Open menu item File
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
3 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/jupyterlab/jupyterlab/galata/test-results/test-jupyterlab-notebook-create-Notebook-Create-Open-menu-item-File-jupyterlab-retry1/opened-menu-file-expected.png
Received: /home/runner/work/jupyterlab/jupyterlab/galata/test-results/test-jupyterlab-notebook-create-Notebook-Create-Open-menu-item-File-jupyterlab-retry1/opened-menu-file-actual.png
Diff: /home/runner/work/jupyterlab/jupyterlab/galata/test-results/test-jupyterlab-notebook-create-Notebook-Create-Open-menu-item-File-jupyterlab-retry1/opened-menu-file-diff.png
66 | const imageName = `opened-menu-${menuPath.replace(/>/g, '-')}.png`;
67 | const menu = await page.menu.getOpenMenuLocator();
> 68 | expect(await menu!.screenshot()).toMatchSnapshot(imageName.toLowerCase());
| ^
69 | });
70 | });
71 |
at /home/runner/work/jupyterlab/jupyterlab/galata/test/jupyterlab/notebook-create.test.ts:68:40
|
Test:
galata/test/jupyterlab/notebook-run.test.ts#L62
4) [jupyterlab] › test/jupyterlab/notebook-run.test.ts:33:7 › Notebook Run › Run Notebook and capture cell outputs
Error: Screenshot comparison failed:
316 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/jupyterlab/jupyterlab/galata/test-results/test-jupyterlab-notebook-run-Notebook-Run-Run-Notebook-and-capture-cell-outputs-jupyterlab/notebook-panel-1-expected.png
Received: /home/runner/work/jupyterlab/jupyterlab/galata/test-results/test-jupyterlab-notebook-run-Notebook-Run-Run-Notebook-and-capture-cell-outputs-jupyterlab/notebook-panel-1-actual.png
Diff: /home/runner/work/jupyterlab/jupyterlab/galata/test-results/test-jupyterlab-notebook-run-Notebook-Run-Run-Notebook-and-capture-cell-outputs-jupyterlab/notebook-panel-1-diff.png
60 |
61 | for (let c = 0; c < numNBImages; ++c) {
> 62 | expect.soft(captures[c]).toMatchSnapshot(getCaptureImageName(c));
| ^
63 | }
64 | });
65 |
at /home/runner/work/jupyterlab/jupyterlab/galata/test/jupyterlab/notebook-run.test.ts:62:32
|
Test:
galata/test/jupyterlab/notebook-run.test.ts#L62
4) [jupyterlab] › test/jupyterlab/notebook-run.test.ts:33:7 › Notebook Run › Run Notebook and capture cell outputs
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
316 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/jupyterlab/jupyterlab/galata/test-results/test-jupyterlab-notebook-run-Notebook-Run-Run-Notebook-and-capture-cell-outputs-jupyterlab-retry1/notebook-panel-1-expected.png
Received: /home/runner/work/jupyterlab/jupyterlab/galata/test-results/test-jupyterlab-notebook-run-Notebook-Run-Run-Notebook-and-capture-cell-outputs-jupyterlab-retry1/notebook-panel-1-actual.png
Diff: /home/runner/work/jupyterlab/jupyterlab/galata/test-results/test-jupyterlab-notebook-run-Notebook-Run-Run-Notebook-and-capture-cell-outputs-jupyterlab-retry1/notebook-panel-1-diff.png
60 |
61 | for (let c = 0; c < numNBImages; ++c) {
> 62 | expect.soft(captures[c]).toMatchSnapshot(getCaptureImageName(c));
| ^
63 | }
64 | });
65 |
at /home/runner/work/jupyterlab/jupyterlab/galata/test/jupyterlab/notebook-run.test.ts:62:32
|
Test:
galata/test/jupyterlab/notebook-scroll-no-windowing.test.ts#L203
5) [jupyterlab] › test/jupyterlab/notebook-scroll-no-windowing.test.ts:181:7 › Notebook scroll on execution (no windowing) › should scroll when advancing if top is only marginally visible
Error: expect(received).toBeInViewport()
Call log:
- expect.toBeInViewport with timeout 5000ms
- waiting for getByRole('main').locator('[role="tabpanel"][id="id-99fb06ce-158e-446e-9c93-6f8bb5bcadf5"]').locator('.jp-NotebookPanel-notebook').first().locator('.jp-Cell[data-windowed-list-index="2"]')
- locator resolved to <div tabindex="0" data-windowed-list-index="2" aria-l…>…</div>
- unexpected value "viewport ratio 0.009747706353664398"
- waiting for getByRole('main').locator('[role="tabpanel"][id="id-99fb06ce-158e-446e-9c93-6f8bb5bcadf5"]').locator('.jp-NotebookPanel-notebook').first().locator('.jp-Cell[data-windowed-list-index="2"]')
- locator resolved to <div tabindex="0" data-windowed-list-index="2" aria-l…>…</div>
- unexpected value "viewport ratio 0.009747706353664398"
- locator resolved to <div tabindex="0" data-windowed-list-index="2" aria-l…>…</div>
- unexpected value "viewport ratio 0.009747706353664398"
- locator resolved to <div tabindex="0" data-windowed-list-index="2" aria-l…>…</div>
- unexpected value "viewport ratio 0.009747706353664398"
- locator resolved to <div tabindex="0" data-windowed-list-index="2" aria-l…>…</div>
- unexpected value "viewport ratio 0.009747706353664398"
- locator resolved to <div tabindex="0" data-windowed-list-index="2" aria-l…>…</div>
- unexpected value "viewport ratio 0.009747706353664398"
- locator resolved to <div tabindex="0" data-windowed-list-index="2" aria-l…>…</div>
- unexpected value "viewport ratio 0.009747706353664398"
- locator resolved to <div tabindex="0" data-windowed-list-index="2" aria-l…>…</div>
- unexpected value "viewport ratio 0.009747706353664398"
201 |
202 | // After running the second cell, the third cell should be revealed, in at least 10%
> 203 | await expect(thirdCell!).toBeInViewport({ ratio: 0.1 });
| ^
204 |
205 | // The third cell should now occupy about half of the notebook viewport
206 | expect(await notebookViewportRatio(notebook!, thirdCell!)).toBeGreaterThan(
at /home/runner/work/jupyterlab/jupyterlab/galata/test/jupyterlab/notebook-scroll-no-windowing.test.ts:203:30
|
Test:
galata/test/jupyterlab/outputarea-stdin.test.ts#L69
6) [jupyterlab] › test/jupyterlab/outputarea-stdin.test.ts:31:7 › Stdin for ipdb › Stdin history search
Error: Screenshot comparison failed:
988 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/jupyterlab/jupyterlab/galata/test-results/test-jupyterlab-outputarea-stdin-Stdin-for-ipdb-Stdin-history-search-jupyterlab/stdin-history-search-expected.png
Received: /home/runner/work/jupyterlab/jupyterlab/galata/test-results/test-jupyterlab-outputarea-stdin-Stdin-for-ipdb-Stdin-history-search-jupyterlab/stdin-history-search-actual.png
Diff: /home/runner/work/jupyterlab/jupyterlab/galata/test-results/test-jupyterlab-outputarea-stdin-Stdin-for-ipdb-Stdin-history-search-jupyterlab/stdin-history-search-diff.png
67 | const imageName = 'stdin-history-search.png';
68 | const cell = await page.notebook.getCellLocator(1);
> 69 | expect(await cell!.screenshot()).toMatchSnapshot(imageName);
| ^
70 |
71 | // Check that the input remains focused and cursor is at the end.
72 | await page.keyboard.insertText('x');
at /home/runner/work/jupyterlab/jupyterlab/galata/test/jupyterlab/outputarea-stdin.test.ts:69:38
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-python@v4, actions/cache@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Test
4 failed
[jupyterlab] › test/jupyterlab/menus.test.ts:30:9 › General Tests › Open menu item File ────────
[jupyterlab] › test/jupyterlab/menus.test.ts:30:9 › General Tests › Open menu item File>Workspaces
[jupyterlab] › test/jupyterlab/notebook-create.test.ts:57:9 › Notebook Create › Open menu item File
[jupyterlab] › test/jupyterlab/notebook-run.test.ts:33:7 › Notebook Run › Run Notebook and capture cell outputs
5 flaky
[jupyterlab] › test/jupyterlab/notebook-scroll-no-windowing.test.ts:181:7 › Notebook scroll on execution (no windowing) › should scroll when advancing if top is only marginally visible
[jupyterlab] › test/jupyterlab/outputarea-stdin.test.ts:31:7 › Stdin for ipdb › Stdin history search
[jupyterlab] › test/jupyterlab/readonly.test.ts:9:7 › test readonly status › test readonly status
[jupyterlab] › test/jupyterlab/toc-running.test.ts:50:7 › ToC Running indicator › should display error indicators
[jupyterlab] › test/jupyterlab/toc-running.test.ts:63:7 › ToC Running indicator › should display running indicator on first visible top level
3 skipped
414 passed (29.0m)
|
Loading