Skip to content

Update notebook window size on panel resize #191

Update notebook window size on panel resize

Update notebook window size on panel resize #191

Triggered via pull request November 8, 2023 08:17
Status Failure
Total duration 55m 9s
Artifacts 4

galata.yml

on: pull_request
Visual Regression Tests
54m 58s
Visual Regression Tests
Matrix: Visual Regression Documentation
Fit to window
Zoom out
Zoom in

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