float variable equal to math.inf should be displayed accordingly in d… #12
galata.yml
on: push
Visual Regression Tests
32m 25s
Matrix: Visual Regression Documentation
Annotations
19 errors, 2 warnings, and 2 notices
[documentation] › test/documentation/general.test.ts:231:7 › General › Open tabs:
core/galata/test/documentation/general.test.ts#L240
1) [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): 62ccd801-0e2c-4180-83be-610143f1caa4')
2) <span class="jp-RunningSessions-itemLabel" title="Pyth…>Python 3 (ipykernel)</span> aka getByTitle('Python 3 (ipykernel): 870ad78a-36bc-4384-8f46-c1eee2d78a1d\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
1) [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): 62ccd801-0e2c-4180-83be-610143f1caa4')
2) <span class="jp-RunningSessions-itemLabel" title="Pyth…>Python 3 (ipykernel)</span> aka getByTitle('Python 3 (ipykernel): 608d9059-4e60-4a0d-9c1c-65c0bbc939da\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
1) [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): 620eed59-7143-4dcc-a178-c2072cda6885')
2) <span class="jp-RunningSessions-itemLabel" title="Pyth…>Python 3 (ipykernel)</span> aka getByTitle('Python 3 (ipykernel): 174e9acb-b8e2-42a6-b5f6-850949f5c710\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/customization.test.ts:190:7 › Customized › should use customized layout:
core/galata/test/documentation/customization.test.ts#L207
2) [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/debugger.test.ts:309:7 › Debugger › Source panel:
core/galata/src/helpers/notebook.ts#L894
3) [documentation] › test/documentation/debugger.test.ts:309:7 › Debugger › Source panel ─────────
TypeError: Cannot read properties of undefined (reading 'click')
at src/helpers/notebook.ts:894
892 | return false;
893 | }
> 894 | await gutters[lineNumber].click();
| ^
895 | return true;
896 | }
897 |
at NotebookHelper.clickCellGutter (/home/runner/work/jupyterlab/jupyterlab/core/galata/src/helpers/notebook.ts:894:31)
at setBreakpoint (/home/runner/work/jupyterlab/jupyterlab/core/galata/test/documentation/debugger.test.ts:357:3)
at /home/runner/work/jupyterlab/jupyterlab/core/galata/test/documentation/debugger.test.ts:318:5
|
[documentation] › test/documentation/general.test.ts:19:7 › General › Welcome:
core/galata/test/documentation/general.test.ts#L79
4) [documentation] › test/documentation/general.test.ts:19:7 › General › Welcome ─────────────────
Error: Screenshot comparison failed:
54 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/jupyterlab/jupyterlab/core/galata/test-results/test-documentation-general-General-Welcome-documentation/jupyterlab-expected.png
Received: /home/runner/work/jupyterlab/jupyterlab/core/galata/test-results/test-documentation-general-General-Welcome-documentation/jupyterlab-actual.png
Diff: /home/runner/work/jupyterlab/jupyterlab/core/galata/test-results/test-documentation-general-General-Welcome-documentation/jupyterlab-diff.png
77 | await page.mouse.up();
78 |
> 79 | expect(await page.screenshot()).toMatchSnapshot('jupyterlab.png');
| ^
80 | });
81 |
82 | test('Overview', async ({ page }) => {
at /home/runner/work/jupyterlab/jupyterlab/core/galata/test/documentation/general.test.ts:79:37
|
[documentation] › test/documentation/general.test.ts:535:7 › General › Terminals:
core/galata/test/documentation/general.test.ts#L568
5) [documentation] › test/documentation/general.test.ts:535:7 › General › Terminals ──────────────
Error: Screenshot comparison failed:
10403 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/internationalization.test.ts:43:7 › Internationalization › UI in Chinese:
core/galata/test/documentation/internationalization.test.ts#L72
6) [documentation] › test/documentation/internationalization.test.ts:43:7 › Internationalization › UI in Chinese
Error: Screenshot comparison failed:
4569 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/jupyterlab/jupyterlab/core/galata/test-results/test-documentation-internationalization-Internationalization-UI-in-Chinese-documentation/language-chinese-expected.png
Received: /home/runner/work/jupyterlab/jupyterlab/core/galata/test-results/test-documentation-internationalization-Internationalization-UI-in-Chinese-documentation/language-chinese-actual.png
Diff: /home/runner/work/jupyterlab/jupyterlab/core/galata/test-results/test-documentation-internationalization-Internationalization-UI-in-Chinese-documentation/language-chinese-diff.png
70 | await setSidebarWidth(page);
71 |
> 72 | expect(await page.screenshot()).toMatchSnapshot('language_chinese.png');
| ^
73 | });
74 | });
75 |
at /home/runner/work/jupyterlab/jupyterlab/core/galata/test/documentation/internationalization.test.ts:72:37
|
Visual Regression Documentation (3.10.6)
Process completed with exit code 1.
|
[jupyterlab] › test/jupyterlab/readonly.test.ts:9:7 › test readonly status › test readonly status:
galata/test/jupyterlab/readonly.test.ts#L21
1) [jupyterlab] › test/jupyterlab/readonly.test.ts:9:7 › test readonly status › test readonly status
Error: Screenshot comparison failed:
Expected an image 317px by 100px, received 318px by 100px. 16904 pixels (ratio 0.54 of all image pixels) are different.
Expected: /home/runner/work/jupyterlab/jupyterlab/galata/test-results/test-jupyterlab-readonly-test-readonly-status-test-readonly-status-jupyterlab/readonly-expected.png
Received: /home/runner/work/jupyterlab/jupyterlab/galata/test-results/test-jupyterlab-readonly-test-readonly-status-test-readonly-status-jupyterlab/readonly-actual.png
Diff: /home/runner/work/jupyterlab/jupyterlab/galata/test-results/test-jupyterlab-readonly-test-readonly-status-test-readonly-status-jupyterlab/readonly-diff.png
19 | const imageName = 'readonly.png';
20 | await page.locator('.Toastify__toast').waitFor({ state: 'visible' });
> 21 | expect(await page.locator('.Toastify__toast').screenshot()).toMatchSnapshot(
| ^
22 | imageName
23 | );
24 | });
at /home/runner/work/jupyterlab/jupyterlab/galata/test/jupyterlab/readonly.test.ts:21:65
|
[jupyterlab] › test/jupyterlab/readonly.test.ts:9:7 › test readonly status › test readonly status:
galata/test/jupyterlab/readonly.test.ts#L21
1) [jupyterlab] › test/jupyterlab/readonly.test.ts:9:7 › test readonly status › test readonly status
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
Expected an image 317px by 100px, received 318px by 100px. 18245 pixels (ratio 0.58 of all image pixels) are different.
Expected: /home/runner/work/jupyterlab/jupyterlab/galata/test-results/test-jupyterlab-readonly-test-readonly-status-test-readonly-status-jupyterlab-retry1/readonly-expected.png
Received: /home/runner/work/jupyterlab/jupyterlab/galata/test-results/test-jupyterlab-readonly-test-readonly-status-test-readonly-status-jupyterlab-retry1/readonly-actual.png
Diff: /home/runner/work/jupyterlab/jupyterlab/galata/test-results/test-jupyterlab-readonly-test-readonly-status-test-readonly-status-jupyterlab-retry1/readonly-diff.png
19 | const imageName = 'readonly.png';
20 | await page.locator('.Toastify__toast').waitFor({ state: 'visible' });
> 21 | expect(await page.locator('.Toastify__toast').screenshot()).toMatchSnapshot(
| ^
22 | imageName
23 | );
24 | });
at /home/runner/work/jupyterlab/jupyterlab/galata/test/jupyterlab/readonly.test.ts:21:65
|
[jupyterlab] › test/jupyterlab/sidebars.test.ts:31:9 › Sidebars › Open Sidebar tab jp-running-sessions:
galata/test/jupyterlab/sidebars.test.ts#L38
2) [jupyterlab] › test/jupyterlab/sidebars.test.ts:31:9 › Sidebars › Open Sidebar tab jp-running-sessions
Error: Screenshot comparison failed:
670 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/jupyterlab/jupyterlab/galata/test-results/test-jupyterlab-sidebars-Sidebars-Open-Sidebar-tab-jp-running-sessions-jupyterlab/opened-sidebar-jp-running-sessions-expected.png
Received: /home/runner/work/jupyterlab/jupyterlab/galata/test-results/test-jupyterlab-sidebars-Sidebars-Open-Sidebar-tab-jp-running-sessions-jupyterlab/opened-sidebar-jp-running-sessions-actual.png
Diff: /home/runner/work/jupyterlab/jupyterlab/galata/test-results/test-jupyterlab-sidebars-Sidebars-Open-Sidebar-tab-jp-running-sessions-jupyterlab/opened-sidebar-jp-running-sessions-diff.png
36 | const position = await page.sidebar.getTabPosition(sidebarId);
37 | const sidebar = await page.sidebar.getContentPanel(position);
> 38 | expect(await sidebar.screenshot()).toMatchSnapshot(
| ^
39 | imageName.toLowerCase()
40 | );
41 | });
at /home/runner/work/jupyterlab/jupyterlab/galata/test/jupyterlab/sidebars.test.ts:38:42
|
[jupyterlab] › test/jupyterlab/sidebars.test.ts:31:9 › Sidebars › Open Sidebar tab jp-running-sessions:
galata/test/jupyterlab/sidebars.test.ts#L38
2) [jupyterlab] › test/jupyterlab/sidebars.test.ts:31:9 › Sidebars › Open Sidebar tab jp-running-sessions
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
400 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/jupyterlab/jupyterlab/galata/test-results/test-jupyterlab-sidebars-Sidebars-Open-Sidebar-tab-jp-running-sessions-jupyterlab-retry1/opened-sidebar-jp-running-sessions-expected.png
Received: /home/runner/work/jupyterlab/jupyterlab/galata/test-results/test-jupyterlab-sidebars-Sidebars-Open-Sidebar-tab-jp-running-sessions-jupyterlab-retry1/opened-sidebar-jp-running-sessions-actual.png
Diff: /home/runner/work/jupyterlab/jupyterlab/galata/test-results/test-jupyterlab-sidebars-Sidebars-Open-Sidebar-tab-jp-running-sessions-jupyterlab-retry1/opened-sidebar-jp-running-sessions-diff.png
36 | const position = await page.sidebar.getTabPosition(sidebarId);
37 | const sidebar = await page.sidebar.getContentPanel(position);
> 38 | expect(await sidebar.screenshot()).toMatchSnapshot(
| ^
39 | imageName.toLowerCase()
40 | );
41 | });
at /home/runner/work/jupyterlab/jupyterlab/galata/test/jupyterlab/sidebars.test.ts:38:42
|
[galata] › test/galata/notebook.spec.ts:87:7 › Notebook Tests › Open and run cell by cell:
galata/test/galata/notebook.spec.ts#L96
3) [galata] › test/galata/notebook.spec.ts:87:7 › Notebook Tests › Open and run cell by cell ─────
Error: expect(received).toBeTruthy()
Received: false
94 | const notebook = 'example.ipynb';
95 | await page.notebook.open(notebook);
> 96 | expect(await page.notebook.isOpen(notebook)).toBeTruthy();
| ^
97 | await page.notebook.activate(notebook);
98 | expect(await page.notebook.isActive(notebook)).toBeTruthy();
99 |
at /home/runner/work/jupyterlab/jupyterlab/galata/test/galata/notebook.spec.ts:96:50
|
[jupyterlab] › test/jupyterlab/notebook-max-outputs.test.ts:37:5 › Don't limit cell outputs if input is requested:
galata/test/jupyterlab/notebook-max-outputs.test.ts#L52
4) [jupyterlab] › test/jupyterlab/notebook-max-outputs.test.ts:37:5 › Don't limit cell outputs if input is requested
Error: expect(received).toBeGreaterThan(expected)
Expected: > 5
Received: 5
50 | await page.menu.clickMenuItem('Run>Run All Cells');
51 | await page.waitForSelector('.jp-Stdin >> text=Your age:');
> 52 | expect(await page.locator('.jp-RenderedMarkdown').count()).toBeGreaterThan(
| ^
53 | MAX_OUTPUTS
54 | );
55 |
at /home/runner/work/jupyterlab/jupyterlab/galata/test/jupyterlab/notebook-max-outputs.test.ts:52:62
|
[jupyterlab] › test/jupyterlab/toc-running.test.ts:48:7 › ToC Running indicator › should display error indicators:
galata/test/jupyterlab/toc-running.test.ts#L10
5) [jupyterlab] › test/jupyterlab/toc-running.test.ts:48:7 › ToC Running indicator › should display error indicators
Test timeout of 60000ms exceeded while running "beforeEach" hook.
8 |
9 | test.describe('ToC Running indicator', () => {
> 10 | test.beforeEach(async ({ page, tmpPath }) => {
| ^
11 | await page.notebook.openByPath(`${tmpPath}/${fileName}`);
12 | await page.notebook.activate(fileName);
13 |
at /home/runner/work/jupyterlab/jupyterlab/galata/test/jupyterlab/toc-running.test.ts:10:8
|
[jupyterlab] › test/jupyterlab/toc-running.test.ts:48:7 › ToC Running indicator › should display error indicators:
galata/src/helpers/filebrowser.ts#L69
5) [jupyterlab] › test/jupyterlab/toc-running.test.ts:48:7 › ToC Running indicator › should display error indicators
Error: page.$: Target page, context or browser has been closed
at src/helpers/filebrowser.ts:69
67 | */
68 | async isFileListedInBrowser(fileName: string): Promise<boolean> {
> 69 | const item = await this.page.$(
| ^
70 | `xpath=${this.xpBuildFileSelector(fileName)}`
71 | );
72 | return item !== null;
at FileBrowserHelper.isFileListedInBrowser (/home/runner/work/jupyterlab/jupyterlab/galata/src/helpers/filebrowser.ts:69:34)
at fn (/home/runner/work/jupyterlab/jupyterlab/galata/src/helpers/filebrowser.ts:58:25)
at Timeout.check (/home/runner/work/jupyterlab/jupyterlab/galata/src/utils.ts:166:33)
|
[jupyterlab] › test/jupyterlab/toc-running.test.ts:48:7 › ToC Running indicator › should display error indicators:
galata/test/jupyterlab/toc-running.test.ts#L1
5) [jupyterlab] › test/jupyterlab/toc-running.test.ts:48:7 › ToC Running indicator › should display error indicators
Pending operations:
- page.$ at src/helpers/filebrowser.ts:69:34
|
[jupyterlab] › test/jupyterlab/toc-running.test.ts:61:7 › ToC Running indicator › should display running indicator on first visible top level:
galata/test/jupyterlab/toc-running.test.ts#L10
6) [jupyterlab] › test/jupyterlab/toc-running.test.ts:61:7 › ToC Running indicator › should display running indicator on first visible top level
Test timeout of 60000ms exceeded while running "beforeEach" hook.
8 |
9 | test.describe('ToC Running indicator', () => {
> 10 | test.beforeEach(async ({ page, tmpPath }) => {
| ^
11 | await page.notebook.openByPath(`${tmpPath}/${fileName}`);
12 | await page.notebook.activate(fileName);
13 |
at /home/runner/work/jupyterlab/jupyterlab/galata/test/jupyterlab/toc-running.test.ts:10:8
|
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
1 failed
[documentation] › test/documentation/general.test.ts:231:7 › General › Open tabs ───────────────
5 flaky
[documentation] › test/documentation/customization.test.ts:190:7 › Customized › should use customized layout
[documentation] › test/documentation/debugger.test.ts:309:7 › Debugger › Source panel ──────────
[documentation] › test/documentation/general.test.ts:19:7 › General › Welcome ──────────────────
[documentation] › test/documentation/general.test.ts:535:7 › General › Terminals ───────────────
[documentation] › test/documentation/internationalization.test.ts:43:7 › Internationalization › UI in Chinese
56 passed (6.5m)
|
🎭 Playwright Run Summary
2 failed
[jupyterlab] › test/jupyterlab/readonly.test.ts:9:7 › test readonly status › test readonly status
[jupyterlab] › test/jupyterlab/sidebars.test.ts:31:9 › Sidebars › Open Sidebar tab jp-running-sessions
4 flaky
[galata] › test/galata/notebook.spec.ts:87:7 › Notebook Tests › Open and run cell by cell ──────
[jupyterlab] › test/jupyterlab/notebook-max-outputs.test.ts:37:5 › Don't limit cell outputs if input is requested
[jupyterlab] › test/jupyterlab/toc-running.test.ts:48:7 › ToC Running indicator › should display error indicators
[jupyterlab] › test/jupyterlab/toc-running.test.ts:61:7 › ToC Running indicator › should display running indicator on first visible top level
358 passed (24.9m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
jupyterlab-documentation-report
Expired
|
10.8 MB |
|
jupyterlab-documentation-test-assets
Expired
|
9.15 MB |
|
jupyterlab-galata-report
Expired
|
11.2 MB |
|
jupyterlab-galata-test-assets
Expired
|
7.3 MB |
|