Update notebook window size on panel resize #191
galata.yml
on: pull_request
Visual Regression Tests
54m 58s
Matrix: Visual Regression Documentation
Annotations
19 errors, 2 warnings, and 2 notices
[documentation] βΊ test/documentation/customization.test.ts:190:7 βΊ Customized βΊ should use customized layout:
core/galata/test/documentation/customization.test.ts#L207
1) [documentation] βΊ test/documentation/customization.test.ts:190:7 βΊ Customized βΊ should use customized layout
Error: Screenshot comparison failed:
1502 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/jupyterlab/jupyterlab/core/galata/test-results/test-documentation-customization-Customized-should-use-customized-layout-documentation/customized-terminal-position-single-expected.png
Received: /home/runner/work/jupyterlab/jupyterlab/core/galata/test-results/test-documentation-customization-Customized-should-use-customized-layout-documentation/customized-terminal-position-single-actual.png
Diff: /home/runner/work/jupyterlab/jupyterlab/core/galata/test-results/test-documentation-customization-Customized-should-use-customized-layout-documentation/customized-terminal-position-single-diff.png
205 | await setSidebarWidth(page, 271, 'right');
206 |
> 207 | expect(await page.screenshot()).toMatchSnapshot(
| ^
208 | 'customized-terminal-position-single.png'
209 | );
210 | });
at /home/runner/work/jupyterlab/jupyterlab/core/galata/test/documentation/customization.test.ts:207:37
|
[documentation] βΊ test/documentation/customization.test.ts:190:7 βΊ Customized βΊ should use customized layout:
core/galata/test/documentation/customization.test.ts#L207
1) [documentation] βΊ test/documentation/customization.test.ts:190:7 βΊ Customized βΊ should use customized layout
Retry #1 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: Screenshot comparison failed:
1502 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/jupyterlab/jupyterlab/core/galata/test-results/test-documentation-customization-Customized-should-use-customized-layout-documentation-retry1/customized-terminal-position-single-expected.png
Received: /home/runner/work/jupyterlab/jupyterlab/core/galata/test-results/test-documentation-customization-Customized-should-use-customized-layout-documentation-retry1/customized-terminal-position-single-actual.png
Diff: /home/runner/work/jupyterlab/jupyterlab/core/galata/test-results/test-documentation-customization-Customized-should-use-customized-layout-documentation-retry1/customized-terminal-position-single-diff.png
205 | await setSidebarWidth(page, 271, 'right');
206 |
> 207 | expect(await page.screenshot()).toMatchSnapshot(
| ^
208 | 'customized-terminal-position-single.png'
209 | );
210 | });
at /home/runner/work/jupyterlab/jupyterlab/core/galata/test/documentation/customization.test.ts:207:37
|
[documentation] βΊ test/documentation/customization.test.ts:190:7 βΊ Customized βΊ should use customized layout:
core/galata/test/documentation/customization.test.ts#L207
1) [documentation] βΊ test/documentation/customization.test.ts:190:7 βΊ Customized βΊ should use customized layout
Retry #2 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: Screenshot comparison failed:
1502 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/jupyterlab/jupyterlab/core/galata/test-results/test-documentation-customization-Customized-should-use-customized-layout-documentation-retry2/customized-terminal-position-single-expected.png
Received: /home/runner/work/jupyterlab/jupyterlab/core/galata/test-results/test-documentation-customization-Customized-should-use-customized-layout-documentation-retry2/customized-terminal-position-single-actual.png
Diff: /home/runner/work/jupyterlab/jupyterlab/core/galata/test-results/test-documentation-customization-Customized-should-use-customized-layout-documentation-retry2/customized-terminal-position-single-diff.png
205 | await setSidebarWidth(page, 271, 'right');
206 |
> 207 | expect(await page.screenshot()).toMatchSnapshot(
| ^
208 | 'customized-terminal-position-single.png'
209 | );
210 | });
at /home/runner/work/jupyterlab/jupyterlab/core/galata/test/documentation/customization.test.ts:207:37
|
[documentation] βΊ test/documentation/general.test.ts:231:7 βΊ General βΊ Open tabs:
core/galata/test/documentation/general.test.ts#L240
2) [documentation] βΊ test/documentation/general.test.ts:231:7 βΊ General βΊ Open tabs ββββββββββββββ
Error: locator.waitFor: Error: strict mode violation: locator('.jp-RunningSessions-item.jp-mod-kernel').locator('text="Python 3 (ipykernel)"') resolved to 2 elements:
1) <span class="jp-RunningSessions-itemLabel" title="Pythβ¦>Python 3 (ipykernel)</span> aka getByTitle('Python 3 (ipykernel): 28140bfe-d82b-4533-9fd8-75c81c0ba6f0')
2) <span class="jp-RunningSessions-itemLabel" title="Pythβ¦>Python 3 (ipykernel)</span> aka getByTitle('Python 3 (ipykernel): 0d6d97af-77be-4174-848f-cf83246d2a90\n\nnotebook\nPath: notebooks/Data.ipynb')
=========================== logs ===========================
waiting for locator('.jp-RunningSessions-item.jp-mod-kernel').locator('text="Python 3 (ipykernel)"') to be visible
============================================================
238 | '.jp-RunningSessions-item.jp-mod-kernel >> text="Python 3 (ipykernel)"'
239 | )
> 240 | .waitFor();
| ^
241 | expect(
242 | await page.screenshot({ clip: { y: 27, x: 0, width: 283, height: 400 } })
243 | ).toMatchSnapshot('interface_tabs.png');
at /home/runner/work/jupyterlab/jupyterlab/core/galata/test/documentation/general.test.ts:240:8
|
[documentation] βΊ test/documentation/general.test.ts:231:7 βΊ General βΊ Open tabs:
core/galata/test/documentation/general.test.ts#L240
2) [documentation] βΊ test/documentation/general.test.ts:231:7 βΊ General βΊ Open tabs ββββββββββββββ
Retry #1 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: locator.waitFor: Error: strict mode violation: locator('.jp-RunningSessions-item.jp-mod-kernel').locator('text="Python 3 (ipykernel)"') resolved to 2 elements:
1) <span class="jp-RunningSessions-itemLabel" title="Pythβ¦>Python 3 (ipykernel)</span> aka getByTitle('Python 3 (ipykernel): 28140bfe-d82b-4533-9fd8-75c81c0ba6f0')
2) <span class="jp-RunningSessions-itemLabel" title="Pythβ¦>Python 3 (ipykernel)</span> aka getByTitle('Python 3 (ipykernel): 337ff05a-8ead-42a7-9d9e-d20e6d8c4f0f\n\nnotebook\nPath: notebooks/Data.ipynb')
=========================== logs ===========================
waiting for locator('.jp-RunningSessions-item.jp-mod-kernel').locator('text="Python 3 (ipykernel)"') to be visible
============================================================
238 | '.jp-RunningSessions-item.jp-mod-kernel >> text="Python 3 (ipykernel)"'
239 | )
> 240 | .waitFor();
| ^
241 | expect(
242 | await page.screenshot({ clip: { y: 27, x: 0, width: 283, height: 400 } })
243 | ).toMatchSnapshot('interface_tabs.png');
at /home/runner/work/jupyterlab/jupyterlab/core/galata/test/documentation/general.test.ts:240:8
|
[documentation] βΊ test/documentation/general.test.ts:231:7 βΊ General βΊ Open tabs:
core/galata/test/documentation/general.test.ts#L240
2) [documentation] βΊ test/documentation/general.test.ts:231:7 βΊ General βΊ Open tabs ββββββββββββββ
Retry #2 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: locator.waitFor: Error: strict mode violation: locator('.jp-RunningSessions-item.jp-mod-kernel').locator('text="Python 3 (ipykernel)"') resolved to 2 elements:
1) <span class="jp-RunningSessions-itemLabel" title="Pythβ¦>Python 3 (ipykernel)</span> aka getByTitle('Python 3 (ipykernel): 28140bfe-d82b-4533-9fd8-75c81c0ba6f0')
2) <span class="jp-RunningSessions-itemLabel" title="Pythβ¦>Python 3 (ipykernel)</span> aka getByTitle('Python 3 (ipykernel): 993dec1d-93e9-41c1-b5c5-ed390edf1db2\n\nnotebook\nPath: notebooks/Data.ipynb')
=========================== logs ===========================
waiting for locator('.jp-RunningSessions-item.jp-mod-kernel').locator('text="Python 3 (ipykernel)"') to be visible
============================================================
238 | '.jp-RunningSessions-item.jp-mod-kernel >> text="Python 3 (ipykernel)"'
239 | )
> 240 | .waitFor();
| ^
241 | expect(
242 | await page.screenshot({ clip: { y: 27, x: 0, width: 283, height: 400 } })
243 | ).toMatchSnapshot('interface_tabs.png');
at /home/runner/work/jupyterlab/jupyterlab/core/galata/test/documentation/general.test.ts:240:8
|
[documentation] βΊ test/documentation/general.test.ts:535:7 βΊ General βΊ Terminals:
core/galata/test/documentation/general.test.ts#L568
3) [documentation] βΊ test/documentation/general.test.ts:535:7 βΊ General βΊ Terminals ββββββββββββββ
Error: Screenshot comparison failed:
10146 pixels (ratio 0.02 of all image pixels) are different.
Expected: /home/runner/work/jupyterlab/jupyterlab/core/galata/test-results/test-documentation-general-General-Terminals-documentation/terminal-layout-expected.png
Received: /home/runner/work/jupyterlab/jupyterlab/core/galata/test-results/test-documentation-general-General-Terminals-documentation/terminal-layout-actual.png
Diff: /home/runner/work/jupyterlab/jupyterlab/core/galata/test-results/test-documentation-general-General-Terminals-documentation/terminal-layout-diff.png
566 | await page.waitForTimeout(200);
567 |
> 568 | expect(await page.screenshot()).toMatchSnapshot('terminal_layout.png');
| ^
569 | });
570 |
571 | test('Kernels and Terminals', async ({ page }) => {
at /home/runner/work/jupyterlab/jupyterlab/core/galata/test/documentation/general.test.ts:568:37
|
[documentation] βΊ test/documentation/general.test.ts:535:7 βΊ General βΊ Terminals:
core/galata/test/documentation/general.test.ts#L568
3) [documentation] βΊ test/documentation/general.test.ts:535:7 βΊ General βΊ Terminals ββββββββββββββ
Retry #1 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: Screenshot comparison failed:
10146 pixels (ratio 0.02 of all image pixels) are different.
Expected: /home/runner/work/jupyterlab/jupyterlab/core/galata/test-results/test-documentation-general-General-Terminals-documentation-retry1/terminal-layout-expected.png
Received: /home/runner/work/jupyterlab/jupyterlab/core/galata/test-results/test-documentation-general-General-Terminals-documentation-retry1/terminal-layout-actual.png
Diff: /home/runner/work/jupyterlab/jupyterlab/core/galata/test-results/test-documentation-general-General-Terminals-documentation-retry1/terminal-layout-diff.png
566 | await page.waitForTimeout(200);
567 |
> 568 | expect(await page.screenshot()).toMatchSnapshot('terminal_layout.png');
| ^
569 | });
570 |
571 | test('Kernels and Terminals', async ({ page }) => {
at /home/runner/work/jupyterlab/jupyterlab/core/galata/test/documentation/general.test.ts:568:37
|
[documentation] βΊ test/documentation/general.test.ts:535:7 βΊ General βΊ Terminals:
core/galata/test/documentation/general.test.ts#L568
3) [documentation] βΊ test/documentation/general.test.ts:535:7 βΊ General βΊ Terminals ββββββββββββββ
Retry #2 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: Screenshot comparison failed:
10146 pixels (ratio 0.02 of all image pixels) are different.
Expected: /home/runner/work/jupyterlab/jupyterlab/core/galata/test-results/test-documentation-general-General-Terminals-documentation-retry2/terminal-layout-expected.png
Received: /home/runner/work/jupyterlab/jupyterlab/core/galata/test-results/test-documentation-general-General-Terminals-documentation-retry2/terminal-layout-actual.png
Diff: /home/runner/work/jupyterlab/jupyterlab/core/galata/test-results/test-documentation-general-General-Terminals-documentation-retry2/terminal-layout-diff.png
566 | await page.waitForTimeout(200);
567 |
> 568 | expect(await page.screenshot()).toMatchSnapshot('terminal_layout.png');
| ^
569 | });
570 |
571 | test('Kernels and Terminals', async ({ page }) => {
at /home/runner/work/jupyterlab/jupyterlab/core/galata/test/documentation/general.test.ts:568:37
|
[documentation] βΊ test/documentation/general.test.ts:627:7 βΊ General βΊ Open With:
core/galata/test/documentation/general.test.ts#L645
4) [documentation] βΊ test/documentation/general.test.ts:627:7 βΊ General βΊ Open With ββββββββββββββ
Error: Screenshot comparison failed:
3919 pixels (ratio 0.02 of all image pixels) are different.
Expected: /home/runner/work/jupyterlab/jupyterlab/core/galata/test-results/test-documentation-general-General-Open-With-documentation/file-formats-open-with-expected.png
Received: /home/runner/work/jupyterlab/jupyterlab/core/galata/test-results/test-documentation-general-General-Open-With-documentation/file-formats-open-with-actual.png
Diff: /home/runner/work/jupyterlab/jupyterlab/core/galata/test-results/test-documentation-general-General-Open-With-documentation/file-formats-open-with-diff.png
643 | expect(
644 | await page.screenshot({ clip: { y: 0, x: 0, width: 700, height: 500 } })
> 645 | ).toMatchSnapshot('file_formats_open_with.png');
| ^
646 | });
647 |
648 | test('HTML Display', async ({ page, tmpPath }) => {
at /home/runner/work/jupyterlab/jupyterlab/core/galata/test/documentation/general.test.ts:645:7
|
[jupyterlab] βΊ test/jupyterlab/notebook-run.test.ts:33:7 βΊ Notebook Run βΊ Run Notebook and capture cell outputs:
galata/test/jupyterlab/notebook-run.test.ts#L62
1) [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
|
[jupyterlab] βΊ test/jupyterlab/notebook-run.test.ts:33:7 βΊ Notebook Run βΊ Run Notebook and capture cell outputs:
galata/test/jupyterlab/notebook-run.test.ts#L62
1) [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
|
[jupyterlab] βΊ test/jupyterlab/debugger.test.ts:69:7 βΊ Debugger Tests βΊ Rich variables inspector:
galata/test/jupyterlab/debugger.test.ts#L1
2) [jupyterlab] βΊ test/jupyterlab/debugger.test.ts:69:7 βΊ Debugger Tests βΊ Rich variables inspector
Test timeout of 60000ms exceeded.
|
[jupyterlab] βΊ test/jupyterlab/debugger.test.ts:69:7 βΊ Debugger Tests βΊ Rich variables inspector:
galata/src/helpers/debuggerpanel.ts#L95
2) [jupyterlab] βΊ test/jupyterlab/debugger.test.ts:69:7 βΊ Debugger Tests βΊ Rich variables inspector
Error: locator.click: Target closed
=========================== logs ===========================
waiting for locator('.jp-DebuggerVariables :text("local_img")')
============================================================
at src/helpers/debuggerpanel.ts:95
93 | await this.page
94 | .locator(`.jp-DebuggerVariables :text("${name}")`)
> 95 | .click({ button: 'right' });
| ^
96 | await this.page
97 | .locator('.lm-Menu-itemLabel:text("Render Variable")')
98 | .click();
at DebuggerHelper.renderVariable (/home/runner/work/jupyterlab/jupyterlab/galata/src/helpers/debuggerpanel.ts:95:8)
at /home/runner/work/jupyterlab/jupyterlab/galata/test/jupyterlab/debugger.test.ts:112:25
|
[jupyterlab] βΊ test/jupyterlab/debugger.test.ts:69:7 βΊ Debugger Tests βΊ Rich variables inspector:
galata/test/jupyterlab/debugger.test.ts#L1
2) [jupyterlab] βΊ test/jupyterlab/debugger.test.ts:69:7 βΊ Debugger Tests βΊ Rich variables inspector
Pending operations:
- locator.click at src/helpers/debuggerpanel.ts:95:8
|
[jupyterlab] βΊ test/jupyterlab/notebook-search.test.ts:241:7 βΊ Notebook Search βΊ Search in multiple selected cells:
galata/test/jupyterlab/notebook-search.test.ts#L1
3) [jupyterlab] βΊ test/jupyterlab/notebook-search.test.ts:241:7 βΊ Notebook Search βΊ Search in multiple selected cells
Test timeout of 60000ms exceeded.
|
[jupyterlab] βΊ test/jupyterlab/notebook-search.test.ts:241:7 βΊ Notebook Search βΊ Search in multiple selected cells:
galata/test/jupyterlab/notebook-search.test.ts#L274
3) [jupyterlab] βΊ test/jupyterlab/notebook-search.test.ts:241:7 βΊ Notebook Search βΊ Search in multiple selected cells
Error: proxy.waitForSelector: Target closed
=========================== logs ===========================
waiting for locator('text=6/15') to be visible
============================================================
272 | // the current match when extending the selection is desired as user may use
273 | // it as a reference, especially when it was set as closest to the cursor.
> 274 | await page.waitForSelector('text=6/15');
| ^
275 |
276 | const nbPanel = await page.notebook.getNotebookInPanel();
277 | expect(await nbPanel.screenshot()).toMatchSnapshot(
at /home/runner/work/jupyterlab/jupyterlab/galata/test/jupyterlab/notebook-search.test.ts:274:16
|
[jupyterlab] βΊ test/jupyterlab/notebook-search.test.ts:241:7 βΊ Notebook Search βΊ Search in multiple selected cells:
galata/test/jupyterlab/notebook-search.test.ts#L1
3) [jupyterlab] βΊ test/jupyterlab/notebook-search.test.ts:241:7 βΊ Notebook Search βΊ Search in multiple selected cells
Pending operations:
- proxy.waitForSelector at test/jupyterlab/notebook-search.test.ts:274:16
|
Visual Regression Tests
Process completed with exit code 1.
|
Visual Regression Documentation (3.10.6)
The following actions uses node12 which is deprecated and will be forced to run on node16: ifaxity/wait-on-action@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Visual Regression Tests
The following actions uses node12 which is deprecated and will be forced to run on node16: ifaxity/wait-on-action@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
π Playwright Run Summary
6 failed
[documentation] βΊ test/documentation/customization.test.ts:190:7 βΊ Customized βΊ should use customized layout
[documentation] βΊ test/documentation/general.test.ts:231:7 βΊ General βΊ Open tabs βββββββββββββββ
[documentation] βΊ test/documentation/general.test.ts:535:7 βΊ General βΊ Terminals βββββββββββββββ
[documentation] βΊ test/documentation/general.test.ts:627:7 βΊ General βΊ Open With βββββββββββββββ
[documentation] βΊ test/documentation/internationalization.test.ts:14:7 βΊ Internationalization βΊ Menu
[documentation] βΊ test/documentation/internationalization.test.ts:43:7 βΊ Internationalization βΊ UI in Chinese
3 flaky
[documentation] βΊ test/documentation/customization.test.ts:14:7 βΊ Default βΊ should use default layout
[documentation] βΊ test/documentation/debugger.test.ts:276:7 βΊ Debugger βΊ Breakpoints panel βββββ
[documentation] βΊ test/documentation/general.test.ts:111:7 βΊ General βΊ Right Sidebar βββββββββββ
50 passed (6.8m)
|
π Playwright Run Summary
1 failed
[jupyterlab] βΊ test/jupyterlab/notebook-run.test.ts:33:7 βΊ Notebook Run βΊ Run Notebook and capture cell outputs
2 flaky
[jupyterlab] βΊ test/jupyterlab/debugger.test.ts:69:7 βΊ Debugger Tests βΊ Rich variables inspector
[jupyterlab] βΊ test/jupyterlab/notebook-search.test.ts:241:7 βΊ Notebook Search βΊ Search in multiple selected cells
3 skipped
351 passed (45.0m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
jupyterlab-documentation-report
Expired
|
21.1 MB |
|
jupyterlab-documentation-test-assets
Expired
|
21.2 MB |
|
jupyterlab-galata-report
Expired
|
12 MB |
|
jupyterlab-galata-test-assets
Expired
|
8.25 MB |
|