Skip to content

Invert old and new content comment (#16918) #3

Invert old and new content comment (#16918)

Invert old and new content comment (#16918) #3

Triggered via push November 5, 2024 10:26
Status Success
Total duration 59m 21s
Artifacts 3

galata.yml

on: push
Visual Regression Tests
37m 33s
Visual Regression Tests
Matrix: Visual Regression Documentation
Fit to window
Zoom out
Zoom in

Annotations

7 errors, 1 warning, and 2 notices
[documentation] › test/documentation/customization.test.ts:17:7 › Default › should use default layout: core/galata/test/documentation/customization.test.ts#L32
1) [documentation] › test/documentation/customization.test.ts:17:7 › Default › should use default layout Error: Screenshot comparison failed: 1378 pixels (ratio 0.01 of all image pixels) are different. Expected: /home/runner/work/jupyterlab/jupyterlab/core/galata/test/documentation/customization.test.ts-snapshots/default-terminal-position-single-documentation-linux.png Received: /home/runner/work/jupyterlab/jupyterlab/core/galata/test-results/test-documentation-customi-38159-t-should-use-default-layout-documentation/default-terminal-position-single-actual.png Diff: /home/runner/work/jupyterlab/jupyterlab/core/galata/test-results/test-documentation-customi-38159-t-should-use-default-layout-documentation/default-terminal-position-single-diff.png 30 | await page.locator('.jp-Terminal').waitFor(); 31 | > 32 | expect(await page.screenshot()).toMatchSnapshot( | ^ 33 | 'default-terminal-position-single.png' 34 | ); 35 | }); at /home/runner/work/jupyterlab/jupyterlab/core/galata/test/documentation/customization.test.ts:32:37
[documentation] › test/documentation/debugger.test.ts:126:7 › Debugger › Breakpoints on exception: core/galata/test/documentation/debugger.test.ts#L1
2) [documentation] › test/documentation/debugger.test.ts:126:7 › Debugger › Breakpoints on exception Test timeout of 90000ms exceeded.
[documentation] › test/documentation/debugger.test.ts:126:7 › Debugger › Breakpoints on exception: core/galata/src/helpers/debuggerpanel.ts#L29
2) [documentation] › test/documentation/debugger.test.ts:126:7 › Debugger › Breakpoints on exception Error: locator.count: Test timeout of 90000ms exceeded. at src/helpers/debuggerpanel.ts:29 27 | const toolbar = await this.notebook.getToolbarLocator(name); 28 | const button = toolbar?.locator('.jp-DebuggerBugButton'); > 29 | if (((await button?.count()) ?? 0) > 0) { | ^ 30 | return (await button!.getAttribute('aria-pressed')) === 'true'; 31 | } 32 | return false; at DebuggerHelper.isOn (/home/runner/work/jupyterlab/jupyterlab/core/galata/src/helpers/debuggerpanel.ts:29:25) at /home/runner/work/jupyterlab/jupyterlab/core/galata/src/helpers/debuggerpanel.ts:55:40 at Timeout.check (/home/runner/work/jupyterlab/jupyterlab/core/galata/src/utils.ts:183:11)
[documentation] › test/documentation/general.test.ts:640:7 › General › Open With: core/galata/test/documentation/general.test.ts#L659
3) [documentation] › test/documentation/general.test.ts:640:7 › General › Open With ────────────── Error: Screenshot comparison failed: 9673 pixels (ratio 0.03 of all image pixels) are different. Expected: /home/runner/work/jupyterlab/jupyterlab/core/galata/test/documentation/general.test.ts-snapshots/file-formats-open-with-documentation-linux.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 657 | expect( 658 | await page.screenshot({ clip: { y: 0, x: 0, width: 700, height: 500 } }) > 659 | ).toMatchSnapshot('file_formats_open_with.png'); | ^ 660 | }); 661 | 662 | test('HTML Display', async ({ page, tmpPath }) => { at /home/runner/work/jupyterlab/jupyterlab/core/galata/test/documentation/general.test.ts:659:7
[jupyterlab] › test/jupyterlab/html-viewer.test.ts:26:7 › HTML Viewer › should notify links are blocked for untrusted file: galata/test/jupyterlab/html-viewer.test.ts#L30
1) [jupyterlab] › test/jupyterlab/html-viewer.test.ts:26:7 › HTML Viewer › should notify links are blocked for untrusted file TypeError: Cannot read properties of null (reading 'getByRole') 28 | }) => { 29 | const frame = page.frame({ url: url => url.protocol == 'blob:' }); > 30 | await frame!.getByRole('link', { name: 'GitHub' }).hover(); | ^ 31 | 32 | const warningCount = await frame!.evaluate(() => { 33 | let count = 0; at /home/runner/work/jupyterlab/jupyterlab/galata/test/jupyterlab/html-viewer.test.ts:30:18
[jupyterlab] › test/jupyterlab/notebook-markdown.test.ts:92:7 › Notebook Markdown › Render a MermaidJS error: galata/test/jupyterlab/notebook-markdown.test.ts#L95
2) [jupyterlab] › test/jupyterlab/notebook-markdown.test.ts:92:7 › Notebook Markdown › Render a MermaidJS error Error: locator.screenshot: Element is not attached to the DOM Call log: - taking element screenshot - waiting for fonts to load... - fonts loaded - attempting scroll into view action - waiting for element to be stable 93 | const imageName = 'render-mermaid-error.png'; 94 | const cell = await page.notebook.getCellLocator(4); > 95 | expect(await cell!.screenshot()).toMatchSnapshot(imageName); | ^ 96 | }); 97 | }); 98 | at /home/runner/work/jupyterlab/jupyterlab/galata/test/jupyterlab/notebook-markdown.test.ts:95: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
3) [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: Timed out 5000ms waiting for expect(locator).toBeInViewport() Locator: getByRole('main').locator('[role="tabpanel"][id="id-f98fb115-4260-4673-9b73-fc18f650fc14"]').locator('.jp-NotebookPanel-notebook').first().locator('.jp-Cell[data-windowed-list-index="2"]') Expected: in viewport Received: outside viewport Call log: - expect.toBeInViewport with timeout 5000ms - waiting for getByRole('main').locator('[role="tabpanel"][id="id-f98fb115-4260-4673-9b73-fc18f650fc14"]').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-label="Code Cell Content with Output" class="lm-Widget jp-Cell jp-CodeCell jp-Notebook-cell jp-mod-selected jp-mod-active">…</div> - unexpected value "viewport ratio 0.009747706353664398" - locator resolved to <div tabindex="0" data-windowed-list-index="2" aria-label="Code Cell Content with Output" class="lm-Widget jp-Cell jp-CodeCell jp-Notebook-cell jp-mod-selected jp-mod-active">…</div> - unexpected value "viewport ratio 0.009747706353664398" - locator resolved to <div tabindex="0" data-windowed-list-index="2" aria-label="Code Cell Content with Output" class="lm-Widget jp-Cell jp-CodeCell jp-Notebook-cell jp-mod-selected jp-mod-active">…</div> - unexpected value "viewport ratio 0.009747706353664398" - locator resolved to <div tabindex="0" data-windowed-list-index="2" aria-label="Code Cell Content with Output" class="lm-Widget jp-Cell jp-CodeCell jp-Notebook-cell jp-mod-selected jp-mod-active">…</div> - unexpected value "viewport ratio 0.009747706353664398" - locator resolved to <div tabindex="0" data-windowed-list-index="2" aria-label="Code Cell Content with Output" class="lm-Widget jp-Cell jp-CodeCell jp-Notebook-cell jp-mod-selected jp-mod-active">…</div> - unexpected value "viewport ratio 0.009747706353664398" - locator resolved to <div tabindex="0" data-windowed-list-index="2" aria-label="Code Cell Content with Output" class="lm-Widget jp-Cell jp-CodeCell jp-Notebook-cell jp-mod-selected jp-mod-active">…</div> - unexpected value "viewport ratio 0.009747706353664398" - locator resolved to <div tabindex="0" data-windowed-list-index="2" aria-label="Code Cell Content with Output" class="lm-Widget jp-Cell jp-CodeCell jp-Notebook-cell jp-mod-selected jp-mod-active">…</div> - unexpected value "viewport ratio 0.009747706353664398" - locator resolved to <div tabindex="0" data-windowed-list-index="2" aria-label="Code Cell Content with Output" class="lm-Widget jp-Cell jp-CodeCell jp-Notebook-cell jp-mod-selected jp-mod-active">…</div> - unexpected value "viewport ratio 0.009747706353664398" - locator resolved to <div tabindex="0" data-windowed-list-index="2" aria-label="Code Cell Content with Output" class="lm-Widget jp-Cell jp-CodeCell jp-Notebook-cell jp-mod-selected jp-mod-active">…</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
Visual Regression Tests
No files were found with the provided path: galata/test-jupyterlab-results galata/test-results. No artifacts will be uploaded.
🎭 Playwright Run Summary
3 flaky [documentation] › test/documentation/customization.test.ts:17:7 › Default › should use default layout [documentation] › test/documentation/debugger.test.ts:126:7 › Debugger › Breakpoints on exception [documentation] › test/documentation/general.test.ts:640:7 › General › Open With ─────────────── 60 passed (5.0m)
🎭 Playwright Run Summary
3 flaky [jupyterlab] › test/jupyterlab/html-viewer.test.ts:26:7 › HTML Viewer › should notify links are blocked for untrusted file [jupyterlab] › test/jupyterlab/notebook-markdown.test.ts:92:7 › Notebook Markdown › Render a MermaidJS error [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 487 passed (30.2m)

Artifacts

Produced during runtime
Name Size
jupyterlab-documentation-report
1.36 MB
jupyterlab-documentation-test-assets
421 KB
jupyterlab-galata-report
4.34 MB