Fix link to yarn docs in extension migration guide #19640
You are viewing an older attempt in the history of this workflow run.
View latest attempt.
galata.yml
on: pull_request
Visual Regression Tests
31m 53s
Matrix: Visual Regression Documentation
Annotations
15 errors, 2 warnings, and 2 notices
[documentation] › test/documentation/debugger.test.ts:53:7 › Debugger › Set breakpoint:
core/galata/src/helpers/notebook.ts#L899
1) [documentation] › test/documentation/debugger.test.ts:53:7 › Debugger › Set breakpoint ────────
TypeError: Cannot read properties of undefined (reading 'click')
at src/helpers/notebook.ts:899
897 | return false;
898 | }
> 899 | await gutters[lineNumber].click();
| ^
900 | return true;
901 | }
902 |
at NotebookHelper.clickCellGutter (/home/runner/work/jupyterlab/jupyterlab/core/galata/src/helpers/notebook.ts:899: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:62:5
|
[documentation] › test/documentation/general.test.ts:546:7 › General › Kernels and Terminals:
core/galata/test/documentation/general.test.ts#L577
2) [documentation] › test/documentation/general.test.ts:546:7 › General › Kernels and Terminals ──
Error: Screenshot comparison failed:
2201 pixels (ratio 0.02 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
575 | expect(
576 | await page.screenshot({ clip: { y: 27, x: 0, width: 283, height: 400 } })
> 577 | ).toMatchSnapshot('running_layout.png');
| ^
578 | });
579 |
580 | test('Command Palette', async ({ page }) => {
at /home/runner/work/jupyterlab/jupyterlab/core/galata/test/documentation/general.test.ts:577:7
|
[documentation] › test/documentation/general.test.ts:546:7 › General › Kernels and Terminals:
core/galata/test/documentation/general.test.ts#L573
2) [documentation] › test/documentation/general.test.ts:546:7 › General › Kernels and Terminals ──
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toHaveCount(expected) // deep equality
Expected: 2
Received: 3
Call log:
- expect.toHaveCount with timeout 5000ms
- waiting for locator('.jp-RunningSessions-item.jp-mod-kernel').locator('text="Python 3 (ipykernel)"')
- locator resolved to 3 elements
- unexpected value "3"
- waiting for locator('.jp-RunningSessions-item.jp-mod-kernel').locator('text="Python 3 (ipykernel)"')
- locator resolved to 3 elements
- unexpected value "3"
- locator resolved to 3 elements
- unexpected value "3"
- locator resolved to 3 elements
- unexpected value "3"
- locator resolved to 3 elements
- unexpected value "3"
- locator resolved to 3 elements
- unexpected value "3"
- locator resolved to 3 elements
- unexpected value "3"
- locator resolved to 3 elements
- unexpected value "3"
- locator resolved to 3 elements
- unexpected value "3"
571 | '.jp-RunningSessions-item.jp-mod-kernel >> text="Python 3 (ipykernel)"'
572 | )
> 573 | ).toHaveCount(2);
| ^
574 |
575 | expect(
576 | await page.screenshot({ clip: { y: 27, x: 0, width: 283, height: 400 } })
at /home/runner/work/jupyterlab/jupyterlab/core/galata/test/documentation/general.test.ts:573:7
|
[documentation] › test/documentation/internationalization.test.ts:14:7 › Internationalization › Menu:
core/galata/test/documentation/internationalization.test.ts#L24
3) [documentation] › test/documentation/internationalization.test.ts:14:7 › Internationalization › Menu
Error: Screenshot comparison failed:
35 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/jupyterlab/jupyterlab/core/galata/test-results/test-documentation-internationalization-Internationalization-Menu-documentation/language-settings-expected.png
Received: /home/runner/work/jupyterlab/jupyterlab/core/galata/test-results/test-documentation-internationalization-Internationalization-Menu-documentation/language-settings-actual.png
Diff: /home/runner/work/jupyterlab/jupyterlab/core/galata/test-results/test-documentation-internationalization-Internationalization-Menu-documentation/language-settings-diff.png
22 | expect(
23 | await page.screenshot({ clip: { y: 5, x: 250, width: 800, height: 600 } })
> 24 | ).toMatchSnapshot('language_settings.png');
| ^
25 | });
26 |
27 | test('Confirm language', async ({ page }) => {
at /home/runner/work/jupyterlab/jupyterlab/core/galata/test/documentation/internationalization.test.ts:24:7
|
[documentation] › test/documentation/internationalization.test.ts:14:7 › Internationalization › Menu:
core/galata/test/documentation/internationalization.test.ts#L24
3) [documentation] › test/documentation/internationalization.test.ts:14:7 › Internationalization › Menu
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
35 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/jupyterlab/jupyterlab/core/galata/test-results/test-documentation-internationalization-Internationalization-Menu-documentation-retry1/language-settings-expected.png
Received: /home/runner/work/jupyterlab/jupyterlab/core/galata/test-results/test-documentation-internationalization-Internationalization-Menu-documentation-retry1/language-settings-actual.png
Diff: /home/runner/work/jupyterlab/jupyterlab/core/galata/test-results/test-documentation-internationalization-Internationalization-Menu-documentation-retry1/language-settings-diff.png
22 | expect(
23 | await page.screenshot({ clip: { y: 5, x: 250, width: 800, height: 600 } })
> 24 | ).toMatchSnapshot('language_settings.png');
| ^
25 | });
26 |
27 | test('Confirm language', async ({ page }) => {
at /home/runner/work/jupyterlab/jupyterlab/core/galata/test/documentation/internationalization.test.ts:24: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/notebook-toolbar.test.ts:54:7 › Notebook Toolbar › Paste cell:
galata/test/jupyterlab/notebook-toolbar.test.ts#L66
2) [jupyterlab] › test/jupyterlab/notebook-toolbar.test.ts:54:7 › Notebook Toolbar › Paste cell ──
Error: expect(received).toBeVisible()
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('.jp-Notebook-cell.jp-mod-active .jp-cell-toolbar')
- locator resolved to <jp-toolbar role="toolbar" orientation="horizontal" aria-ori…>…</jp-toolbar>
- unexpected value "hidden"
- waiting for locator('.jp-Notebook-cell.jp-mod-active .jp-cell-toolbar')
- locator resolved to <jp-toolbar role="toolbar" orientation="horizontal" aria-ori…>…</jp-toolbar>
- unexpected value "hidden"
- locator resolved to <jp-toolbar role="toolbar" orientation="horizontal" aria-ori…>…</jp-toolbar>
- unexpected value "hidden"
- locator resolved to <jp-toolbar role="toolbar" orientation="horizontal" aria-ori…>…</jp-toolbar>
- unexpected value "hidden"
- locator resolved to <jp-toolbar role="toolbar" orientation="horizontal" aria-ori…>…</jp-toolbar>
- unexpected value "hidden"
- locator resolved to <jp-toolbar role="toolbar" orientation="horizontal" aria-ori…>…</jp-toolbar>
- unexpected value "hidden"
- locator resolved to <jp-toolbar role="toolbar" orientation="horizontal" aria-ori…>…</jp-toolbar>
- unexpected value "hidden"
- locator resolved to <jp-toolbar role="toolbar" orientation="horizontal" aria-ori…>…</jp-toolbar>
- unexpected value "hidden"
- locator resolved to <jp-toolbar role="toolbar" orientation="horizontal" aria-ori…>…</jp-toolbar>
- unexpected value "hidden"
64 | await expect(
65 | page.locator('.jp-Notebook-cell.jp-mod-active .jp-cell-toolbar')
> 66 | ).toBeVisible();
| ^
67 | expect(await nbPanel.screenshot()).toMatchSnapshot(imageName);
68 | });
69 |
at /home/runner/work/jupyterlab/jupyterlab/galata/test/jupyterlab/notebook-toolbar.test.ts:66:7
|
[jupyterlab] › test/jupyterlab/notebook-toolbar.test.ts:54:7 › Notebook Toolbar › Paste cell:
galata/test/jupyterlab/notebook-toolbar.test.ts#L66
2) [jupyterlab] › test/jupyterlab/notebook-toolbar.test.ts:54:7 › Notebook Toolbar › Paste cell ──
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeVisible()
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('.jp-Notebook-cell.jp-mod-active .jp-cell-toolbar')
- locator resolved to <jp-toolbar role="toolbar" orientation="horizontal" aria-ori…>…</jp-toolbar>
- unexpected value "hidden"
- waiting for locator('.jp-Notebook-cell.jp-mod-active .jp-cell-toolbar')
- locator resolved to <jp-toolbar role="toolbar" orientation="horizontal" aria-ori…>…</jp-toolbar>
- unexpected value "hidden"
- locator resolved to <jp-toolbar role="toolbar" orientation="horizontal" aria-ori…>…</jp-toolbar>
- unexpected value "hidden"
- locator resolved to <jp-toolbar role="toolbar" orientation="horizontal" aria-ori…>…</jp-toolbar>
- unexpected value "hidden"
- locator resolved to <jp-toolbar role="toolbar" orientation="horizontal" aria-ori…>…</jp-toolbar>
- unexpected value "hidden"
- locator resolved to <jp-toolbar role="toolbar" orientation="horizontal" aria-ori…>…</jp-toolbar>
- unexpected value "hidden"
- locator resolved to <jp-toolbar role="toolbar" orientation="horizontal" aria-ori…>…</jp-toolbar>
- unexpected value "hidden"
- locator resolved to <jp-toolbar role="toolbar" orientation="horizontal" aria-ori…>…</jp-toolbar>
- unexpected value "hidden"
- locator resolved to <jp-toolbar role="toolbar" orientation="horizontal" aria-ori…>…</jp-toolbar>
- unexpected value "hidden"
64 | await expect(
65 | page.locator('.jp-Notebook-cell.jp-mod-active .jp-cell-toolbar')
> 66 | ).toBeVisible();
| ^
67 | expect(await nbPanel.screenshot()).toMatchSnapshot(imageName);
68 | });
69 |
at /home/runner/work/jupyterlab/jupyterlab/galata/test/jupyterlab/notebook-toolbar.test.ts:66:7
|
[jupyterlab] › test/jupyterlab/notebook-scroll.test.ts:158:7 › Notebook scroll over long outputs › should scroll smoothly without snapping to headings:
galata/test/jupyterlab/notebook-scroll.test.ts#L165
3) [jupyterlab] › test/jupyterlab/notebook-scroll.test.ts:158:7 › Notebook scroll over long outputs › should scroll smoothly without snapping to headings
TimeoutError: locator.waitFor: Timeout 100ms exceeded.
=========================== logs ===========================
waiting for locator('.jp-Cell .jp-RenderedMarkdown:has-text("Before")') to be visible
============================================================
163 | );
164 | // Wait until Markdown cells are rendered
> 165 | await renderedMarkdownLocator.waitFor({ timeout: 100 });
| ^
166 | // Un-render the "before" markdown cell
167 | await renderedMarkdownLocator.dblclick();
168 | // Make the first cell active
at /home/runner/work/jupyterlab/jupyterlab/galata/test/jupyterlab/notebook-scroll.test.ts:165:35
|
[jupyterlab] › test/jupyterlab/toc-running.test.ts:48:7 › ToC Running indicator › should display error indicators:
galata/test/jupyterlab/toc-running.test.ts#L10
4) [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
4) [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:61:7 › ToC Running indicator › should display running indicator on first visible top level:
galata/test/jupyterlab/toc-running.test.ts#L10
5) [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
|
[jupyterlab] › test/jupyterlab/toc-running.test.ts:61:7 › ToC Running indicator › should display running indicator on first visible top level:
galata/src/helpers/filebrowser.ts#L69
5) [jupyterlab] › test/jupyterlab/toc-running.test.ts:61:7 › ToC Running indicator › should display running indicator on first visible top level
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/workspace.test.ts:159:7 › Workspace › should clone the default workspace:
galata/src/helpers/filebrowser.ts#L241
6) [jupyterlab] › test/jupyterlab/workspace.test.ts:159:7 › Workspace › should clone the default workspace
Error: elementHandle.click: Element is not attached to the DOM
=========================== logs ===========================
attempting click action
waiting for element to be visible, enabled and stable
element is not visible - waiting...
============================================================
at src/helpers/filebrowser.ts:241
239 |
240 | await this.contents.waitForAPIResponse(async () => {
> 241 | await item.click({ clickCount: 2 });
| ^
242 | });
243 | // wait for DOM rerender
244 | await this.page.waitForTimeout(200);
at ContentsHelper.call (/home/runner/work/jupyterlab/jupyterlab/galata/src/helpers/filebrowser.ts:241:18)
at ContentsHelper.waitForAPIResponse (/home/runner/work/jupyterlab/jupyterlab/galata/src/contents.ts:365:32)
at FileBrowserHelper._openDirectory (/home/runner/work/jupyterlab/jupyterlab/galata/src/helpers/filebrowser.ts:240:25)
at FileBrowserHelper.openDirectory (/home/runner/work/jupyterlab/jupyterlab/galata/src/helpers/filebrowser.ts:196:13)
at FileBrowserHelper.revealFileInBrowser (/home/runner/work/jupyterlab/jupyterlab/galata/src/helpers/filebrowser.ts:54:7)
at FileBrowserHelper.open (/home/runner/work/jupyterlab/jupyterlab/galata/src/helpers/filebrowser.ts:106:5)
at /home/runner/work/jupyterlab/jupyterlab/galata/test/jupyterlab/workspace.test.ts:163:5
|
🎭 Playwright Run Summary
3 flaky
[documentation] › test/documentation/debugger.test.ts:53:7 › Debugger › Set breakpoint ─────────
[documentation] › test/documentation/general.test.ts:546:7 › General › Kernels and Terminals ───
[documentation] › test/documentation/internationalization.test.ts:14:7 › Internationalization › Menu
59 passed (5.7m)
|
🎭 Playwright Run Summary
2 failed
[jupyterlab] › test/jupyterlab/notebook-run.test.ts:33:7 › Notebook Run › Run Notebook and capture cell outputs
[jupyterlab] › test/jupyterlab/notebook-toolbar.test.ts:54:7 › Notebook Toolbar › Paste cell ───
4 flaky
[jupyterlab] › test/jupyterlab/notebook-scroll.test.ts:158:7 › Notebook scroll over long outputs › should scroll smoothly without snapping to headings
[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
[jupyterlab] › test/jupyterlab/workspace.test.ts:159:7 › Workspace › should clone the default workspace
3 skipped
364 passed (25.6m)
|
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/
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
jupyterlab-documentation-report
Expired
|
6.98 MB |
|
jupyterlab-documentation-test-assets
Expired
|
6.28 MB |
|
jupyterlab-galata-report
Expired
|
14 MB |
|
jupyterlab-galata-test-assets
Expired
|
11.4 MB |
|