Make the default drive in the Contents Service configurable #23245
galata.yml
on: pull_request
Visual Regression Tests
34m 38s
Matrix: Visual Regression Documentation
Annotations
16 errors, 3 warnings, and 2 notices
[documentation] › test/documentation/general.test.ts:617:7 › General › Keyboard Shortcuts Help:
core/galata/test/documentation/general.test.ts#L624
1) [documentation] › test/documentation/general.test.ts:617:7 › General › Keyboard Shortcuts Help
Error: Screenshot comparison failed:
54609 pixels (ratio 0.10 of all image pixels) are different.
Expected: /home/runner/work/jupyterlab/jupyterlab/core/galata/test-results/test-documentation-general-General-Keyboard-Shortcuts-Help-documentation/shortcuts-help-expected.png
Received: /home/runner/work/jupyterlab/jupyterlab/core/galata/test-results/test-documentation-general-General-Keyboard-Shortcuts-Help-documentation/shortcuts-help-actual.png
Diff: /home/runner/work/jupyterlab/jupyterlab/core/galata/test-results/test-documentation-general-General-Keyboard-Shortcuts-Help-documentation/shortcuts-help-diff.png
622 | await page.keyboard.press('Control+Shift+H');
623 |
> 624 | expect(await page.locator('.jp-Notebook').screenshot()).toMatchSnapshot(
| ^
625 | 'shortcuts_help.png'
626 | );
627 | });
at /home/runner/work/jupyterlab/jupyterlab/core/galata/test/documentation/general.test.ts:624:61
|
[documentation] › test/documentation/general.test.ts:617:7 › General › Keyboard Shortcuts Help:
core/galata/test/documentation/general.test.ts#L624
1) [documentation] › test/documentation/general.test.ts:617:7 › General › Keyboard Shortcuts Help
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
54609 pixels (ratio 0.10 of all image pixels) are different.
Expected: /home/runner/work/jupyterlab/jupyterlab/core/galata/test-results/test-documentation-general-General-Keyboard-Shortcuts-Help-documentation-retry1/shortcuts-help-expected.png
Received: /home/runner/work/jupyterlab/jupyterlab/core/galata/test-results/test-documentation-general-General-Keyboard-Shortcuts-Help-documentation-retry1/shortcuts-help-actual.png
Diff: /home/runner/work/jupyterlab/jupyterlab/core/galata/test-results/test-documentation-general-General-Keyboard-Shortcuts-Help-documentation-retry1/shortcuts-help-diff.png
622 | await page.keyboard.press('Control+Shift+H');
623 |
> 624 | expect(await page.locator('.jp-Notebook').screenshot()).toMatchSnapshot(
| ^
625 | 'shortcuts_help.png'
626 | );
627 | });
at /home/runner/work/jupyterlab/jupyterlab/core/galata/test/documentation/general.test.ts:624:61
|
[documentation] › test/documentation/general.test.ts:617:7 › General › Keyboard Shortcuts Help:
core/galata/test/documentation/general.test.ts#L624
1) [documentation] › test/documentation/general.test.ts:617:7 › General › Keyboard Shortcuts Help
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
54609 pixels (ratio 0.10 of all image pixels) are different.
Expected: /home/runner/work/jupyterlab/jupyterlab/core/galata/test-results/test-documentation-general-General-Keyboard-Shortcuts-Help-documentation-retry2/shortcuts-help-expected.png
Received: /home/runner/work/jupyterlab/jupyterlab/core/galata/test-results/test-documentation-general-General-Keyboard-Shortcuts-Help-documentation-retry2/shortcuts-help-actual.png
Diff: /home/runner/work/jupyterlab/jupyterlab/core/galata/test-results/test-documentation-general-General-Keyboard-Shortcuts-Help-documentation-retry2/shortcuts-help-diff.png
622 | await page.keyboard.press('Control+Shift+H');
623 |
> 624 | expect(await page.locator('.jp-Notebook').screenshot()).toMatchSnapshot(
| ^
625 | 'shortcuts_help.png'
626 | );
627 | });
at /home/runner/work/jupyterlab/jupyterlab/core/galata/test/documentation/general.test.ts:624:61
|
[documentation] › test/documentation/workspaces.test.ts:35:7 › Workspaces sidebar › Workspaces context menu:
core/galata/test/documentation/workspaces.test.ts#L90
2) [documentation] › test/documentation/workspaces.test.ts:35:7 › Workspaces sidebar › Workspaces context menu
Error: Screenshot comparison failed:
287 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/jupyterlab/jupyterlab/core/galata/test-results/test-documentation-workspaces-Workspaces-sidebar-Workspaces-context-menu-documentation/workspaces-sidebar-expected.png
Received: /home/runner/work/jupyterlab/jupyterlab/core/galata/test-results/test-documentation-workspaces-Workspaces-sidebar-Workspaces-context-menu-documentation/workspaces-sidebar-actual.png
Diff: /home/runner/work/jupyterlab/jupyterlab/core/galata/test-results/test-documentation-workspaces-Workspaces-sidebar-Workspaces-context-menu-documentation/workspaces-sidebar-diff.png
88 | expect(
89 | await page.screenshot({ clip: { y: 0, x: 0, width: 400, height: 420 } })
> 90 | ).toMatchSnapshot('workspaces_sidebar.png');
| ^
91 | });
92 | });
93 |
at /home/runner/work/jupyterlab/jupyterlab/core/galata/test/documentation/workspaces.test.ts:90:7
|
[documentation] › test/documentation/workspaces.test.ts:35:7 › Workspaces sidebar › Workspaces context menu:
core/galata/test/documentation/workspaces.test.ts#L90
2) [documentation] › test/documentation/workspaces.test.ts:35:7 › Workspaces sidebar › Workspaces context menu
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
287 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/jupyterlab/jupyterlab/core/galata/test-results/test-documentation-workspaces-Workspaces-sidebar-Workspaces-context-menu-documentation-retry1/workspaces-sidebar-expected.png
Received: /home/runner/work/jupyterlab/jupyterlab/core/galata/test-results/test-documentation-workspaces-Workspaces-sidebar-Workspaces-context-menu-documentation-retry1/workspaces-sidebar-actual.png
Diff: /home/runner/work/jupyterlab/jupyterlab/core/galata/test-results/test-documentation-workspaces-Workspaces-sidebar-Workspaces-context-menu-documentation-retry1/workspaces-sidebar-diff.png
88 | expect(
89 | await page.screenshot({ clip: { y: 0, x: 0, width: 400, height: 420 } })
> 90 | ).toMatchSnapshot('workspaces_sidebar.png');
| ^
91 | });
92 | });
93 |
at /home/runner/work/jupyterlab/jupyterlab/core/galata/test/documentation/workspaces.test.ts:90:7
|
[documentation] › test/documentation/workspaces.test.ts:35:7 › Workspaces sidebar › Workspaces context menu:
core/galata/test/documentation/workspaces.test.ts#L90
2) [documentation] › test/documentation/workspaces.test.ts:35:7 › Workspaces sidebar › Workspaces context menu
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
287 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/jupyterlab/jupyterlab/core/galata/test-results/test-documentation-workspaces-Workspaces-sidebar-Workspaces-context-menu-documentation-retry2/workspaces-sidebar-expected.png
Received: /home/runner/work/jupyterlab/jupyterlab/core/galata/test-results/test-documentation-workspaces-Workspaces-sidebar-Workspaces-context-menu-documentation-retry2/workspaces-sidebar-actual.png
Diff: /home/runner/work/jupyterlab/jupyterlab/core/galata/test-results/test-documentation-workspaces-Workspaces-sidebar-Workspaces-context-menu-documentation-retry2/workspaces-sidebar-diff.png
88 | expect(
89 | await page.screenshot({ clip: { y: 0, x: 0, width: 400, height: 420 } })
> 90 | ).toMatchSnapshot('workspaces_sidebar.png');
| ^
91 | });
92 | });
93 |
at /home/runner/work/jupyterlab/jupyterlab/core/galata/test/documentation/workspaces.test.ts:90:7
|
[documentation] › test/documentation/general.test.ts:549:7 › General › Kernels and Terminals:
core/galata/test/documentation/general.test.ts#L575
3) [documentation] › test/documentation/general.test.ts:549:7 › General › Kernels and Terminals ──
Error: expect(received).toHaveCount(expected) // deep equality
Expected: 2
Received: 0
Call log:
- expect.soft.toHaveCount with timeout 5000ms
- waiting for locator('.jp-RunningSessions-item.jp-mod-kernel')
- locator resolved to 0 elements
- unexpected value "0"
- waiting for locator('.jp-RunningSessions-item.jp-mod-kernel')
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
573 | await expect
574 | .soft(page.locator('.jp-RunningSessions-item.jp-mod-kernel'))
> 575 | .toHaveCount(2, { timeout: 5000 });
| ^
576 |
577 | const freeezeKernelIds = async () => {
578 | return page.evaluate(() => {
at /home/runner/work/jupyterlab/jupyterlab/core/galata/test/documentation/general.test.ts:575:8
|
[documentation] › test/documentation/general.test.ts:549:7 › General › Kernels and Terminals:
core/galata/test/documentation/general.test.ts#L595
3) [documentation] › test/documentation/general.test.ts:549:7 › General › Kernels and Terminals ──
Error: Screenshot comparison failed:
742 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/jupyterlab/jupyterlab/core/galata/test-results/test-documentation-general-General-Kernels-and-Terminals-documentation/running-layout-expected.png
Received: /home/runner/work/jupyterlab/jupyterlab/core/galata/test-results/test-documentation-general-General-Kernels-and-Terminals-documentation/running-layout-actual.png
Diff: /home/runner/work/jupyterlab/jupyterlab/core/galata/test-results/test-documentation-general-General-Kernels-and-Terminals-documentation/running-layout-diff.png
593 | })
594 | )
> 595 | .toMatchSnapshot('running_layout.png');
| ^
596 |
597 | await page.click('jp-button[data-command="running:show-modal"]');
598 | await freeezeKernelIds();
at /home/runner/work/jupyterlab/jupyterlab/core/galata/test/documentation/general.test.ts:595:8
|
[documentation] › test/documentation/general.test.ts:549:7 › General › Kernels and Terminals:
core/galata/test/documentation/general.test.ts#L1
3) [documentation] › test/documentation/general.test.ts:549:7 › General › Kernels and Terminals ──
Test timeout of 90000ms exceeded.
|
[documentation] › test/documentation/general.test.ts:549:7 › General › Kernels and Terminals:
core/galata/test/documentation/general.test.ts#L603
3) [documentation] › test/documentation/general.test.ts:549:7 › General › Kernels and Terminals ──
Error: locator.screenshot: Target closed
=========================== logs ===========================
waiting for locator('.jp-SearchableSessions-modal .jp-Dialog-content')
============================================================
601 | await page
602 | .locator('.jp-SearchableSessions-modal .jp-Dialog-content')
> 603 | .screenshot()
| ^
604 | ).toMatchSnapshot('running_modal.png');
605 | });
606 |
at /home/runner/work/jupyterlab/jupyterlab/core/galata/test/documentation/general.test.ts:603:10
|
[jupyterlab] › test/jupyterlab/notebook-markdown.test.ts:86:7 › Notebook Markdown › Render a MermaidJS flowchart:
galata/test/jupyterlab/notebook-markdown.test.ts#L1
1) [jupyterlab] › test/jupyterlab/notebook-markdown.test.ts:86:7 › Notebook Markdown › Render a MermaidJS flowchart
Test timeout of 60000ms exceeded.
|
[jupyterlab] › test/jupyterlab/notebook-markdown.test.ts:86:7 › Notebook Markdown › Render a MermaidJS flowchart:
galata/test/jupyterlab/notebook-markdown.test.ts#L89
1) [jupyterlab] › test/jupyterlab/notebook-markdown.test.ts:86:7 › Notebook Markdown › Render a MermaidJS flowchart
Error: locator.screenshot: Target closed
=========================== logs ===========================
waiting for getByRole('main').locator('[role="tabpanel"][id="id-37b8737f-2c54-46eb-855b-fd95aa1bc8cb"]').locator('.jp-NotebookPanel-notebook').first().locator('.jp-Cell[data-windowed-list-index="3"]')
============================================================
87 | const imageName = 'render-mermaid-flowchart.png';
88 | const cell = await page.notebook.getCellLocator(3);
> 89 | expect(await cell!.screenshot()).toMatchSnapshot(imageName);
| ^
90 | });
91 |
92 | test('Render a MermaidJS error', async ({ page, tmpPath }) => {
at /home/runner/work/jupyterlab/jupyterlab/galata/test/jupyterlab/notebook-markdown.test.ts:89:24
|
[jupyterlab] › test/jupyterlab/notebook-markdown.test.ts:86:7 › Notebook Markdown › Render a MermaidJS flowchart:
galata/test/jupyterlab/notebook-markdown.test.ts#L1
1) [jupyterlab] › test/jupyterlab/notebook-markdown.test.ts:86:7 › Notebook Markdown › Render a MermaidJS flowchart
Pending operations:
- locator.screenshot at test/jupyterlab/notebook-markdown.test.ts:89:24
|
[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:
galata/test/jupyterlab/notebook-scroll-no-windowing.test.ts#L203
2) [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-515ce9c2-0e23-4668-98fa-b5708f6c9ada"]').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-515ce9c2-0e23-4668-98fa-b5708f6c9ada"]').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"
- 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
|
[jupyterlab] › test/jupyterlab/outputarea-stdin.test.ts:31:7 › Stdin for ipdb › Stdin history search:
galata/test/jupyterlab/outputarea-stdin.test.ts#L1
3) [jupyterlab] › test/jupyterlab/outputarea-stdin.test.ts:31:7 › Stdin for ipdb › Stdin history search
Test timeout of 60000ms exceeded.
|
[jupyterlab] › test/jupyterlab/outputarea-stdin.test.ts:31:7 › Stdin for ipdb › Stdin history search:
galata/src/helpers/notebook.ts#L1264
3) [jupyterlab] › test/jupyterlab/outputarea-stdin.test.ts:31:7 › Stdin for ipdb › Stdin history search
Error: locator.evaluate: Target page, context or browser has been closed
at src/helpers/notebook.ts:1264
1262 | // Wait until the CodeMirror highlighting is stable
1263 | // over 10 consecutive animation frames.
> 1264 | await cell.evaluate((cell: HTMLElement) => {
| ^
1265 | let _resolve: () => void;
1266 | const promise = new Promise<void>(resolve => {
1267 | _resolve = resolve;
at NotebookHelper.setCell (/home/runner/work/jupyterlab/jupyterlab/galata/src/helpers/notebook.ts:1264:18)
at /home/runner/work/jupyterlab/jupyterlab/galata/test/jupyterlab/outputarea-stdin.test.ts:32:5
|
🎭 Playwright Run Summary
2 failed
[documentation] › test/documentation/general.test.ts:617:7 › General › Keyboard Shortcuts Help ─
[documentation] › test/documentation/workspaces.test.ts:35:7 › Workspaces sidebar › Workspaces context menu
1 flaky
[documentation] › test/documentation/general.test.ts:549:7 › General › Kernels and Terminals ───
60 passed (6.1m)
|
🎭 Playwright Run Summary
3 flaky
[jupyterlab] › test/jupyterlab/notebook-markdown.test.ts:86:7 › Notebook Markdown › Render a MermaidJS flowchart
[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
437 passed (27.9m)
|
Visual Regression Documentation (3.10.6)
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/.
|
Visual Regression Tests
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/.
|
Visual Regression Tests
No files were found with the provided path: galata/test-jupyterlab-results
galata/test-results. No artifacts will be uploaded.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
jupyterlab-documentation-report
|
7.49 MB |
|
jupyterlab-documentation-test-assets
|
7.02 MB |
|
jupyterlab-galata-report
|
4.66 MB |
|