Add checkbox to skip showing the kernel restart dialog #24486
galata.yml
on: pull_request
Visual Regression Tests
37m 35s
Matrix: Visual Regression Documentation
Annotations
17 errors, 2 warnings, and 2 notices
[documentation] › test/documentation/workspaces.test.ts:36:7 › Workspaces sidebar › Workspaces context menu:
core/galata/test/documentation/workspaces.test.ts#L27
1) [documentation] › test/documentation/workspaces.test.ts:36:7 › Workspaces sidebar › Workspaces context menu
Test timeout of 90000ms exceeded while running "beforeEach" hook.
25 | });
26 |
> 27 | test.beforeEach(async ({ page, tmpPath }) => {
| ^
28 | await page.filebrowser.openDirectory(tmpPath);
29 | });
30 |
at /home/runner/work/jupyterlab/jupyterlab/core/galata/test/documentation/workspaces.test.ts:27:8
|
[documentation] › test/documentation/workspaces.test.ts:36:7 › Workspaces sidebar › Workspaces context menu:
core/galata/src/helpers/activity.ts#L54
1) [documentation] › test/documentation/workspaces.test.ts:36:7 › Workspaces sidebar › Workspaces context menu
Error: locator.count: Test timeout of 90000ms exceeded.
at src/helpers/activity.ts:54
52 | } else {
53 | const tab = this.getTabLocator(name);
> 54 | if (!(await tab.count())) {
| ^
55 | return false;
56 | }
57 | const classes = await Utils.getLocatorClassList(tab);
at ActivityHelper.isTabActive (/home/runner/work/jupyterlab/jupyterlab/core/galata/src/helpers/activity.ts:54:23)
at Timeout.check (/home/runner/work/jupyterlab/jupyterlab/core/galata/src/utils.ts:183:11)
|
[documentation] › test/documentation/workspaces.test.ts:36:7 › Workspaces sidebar › Workspaces context menu:
core/galata/test/documentation/workspaces.test.ts#L27
1) [documentation] › test/documentation/workspaces.test.ts:36:7 › Workspaces sidebar › Workspaces context menu
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 90000ms exceeded while running "beforeEach" hook.
25 | });
26 |
> 27 | test.beforeEach(async ({ page, tmpPath }) => {
| ^
28 | await page.filebrowser.openDirectory(tmpPath);
29 | });
30 |
at /home/runner/work/jupyterlab/jupyterlab/core/galata/test/documentation/workspaces.test.ts:27:8
|
[documentation] › test/documentation/workspaces.test.ts:36:7 › Workspaces sidebar › Workspaces context menu:
core/galata/src/utils.ts#L311
1) [documentation] › test/documentation/workspaces.test.ts:36:7 › Workspaces sidebar › Workspaces context menu
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.isChecked: Target page, context or browser has been closed
at src/utils.ts:311
309 | export function isInSimpleMode(page: Page): Promise<boolean> {
310 | const toggle = page.getByRole('switch', { name: 'Simple' });
> 311 | return toggle.isChecked();
| ^
312 | }
313 |
at Object.isInSimpleMode (/home/runner/work/jupyterlab/jupyterlab/core/galata/src/utils.ts:311:17)
at ActivityHelper.isTabActive (/home/runner/work/jupyterlab/jupyterlab/core/galata/src/helpers/activity.ts:46:21)
at fn (/home/runner/work/jupyterlab/jupyterlab/core/galata/src/fixtures.ts:326:33)
at Timeout.check (/home/runner/work/jupyterlab/jupyterlab/core/galata/src/utils.ts:183:33)
|
[documentation] › test/documentation/workspaces.test.ts:36:7 › Workspaces sidebar › Workspaces context menu:
core/galata/test/documentation/workspaces.test.ts#L1
1) [documentation] › test/documentation/workspaces.test.ts:36:7 › Workspaces sidebar › Workspaces context menu
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Must start tracing before stopping
|
[documentation] › test/documentation/workspaces.test.ts:36:7 › Workspaces sidebar › Workspaces context menu:
core/galata/test/documentation/workspaces.test.ts#L1
1) [documentation] › test/documentation/workspaces.test.ts:36:7 › Workspaces sidebar › Workspaces context menu
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: ENOENT: no such file or directory, open '/home/runner/work/jupyterlab/jupyterlab/core/galata/test-results/.playwright-artifacts-6/c88a9dfaf3abe0e228ee8a01c4820b29.zip'
|
[documentation] › test/documentation/workspaces.test.ts:36:7 › Workspaces sidebar › Workspaces context menu:
core/galata/test/documentation/workspaces.test.ts#L27
1) [documentation] › test/documentation/workspaces.test.ts:36:7 › Workspaces sidebar › Workspaces context menu
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 90000ms exceeded while running "beforeEach" hook.
25 | });
26 |
> 27 | test.beforeEach(async ({ page, tmpPath }) => {
| ^
28 | await page.filebrowser.openDirectory(tmpPath);
29 | });
30 |
at /home/runner/work/jupyterlab/jupyterlab/core/galata/test/documentation/workspaces.test.ts:27:8
|
[documentation] › test/documentation/workspaces.test.ts:36:7 › Workspaces sidebar › Workspaces context menu:
core/galata/src/utils.ts#L311
1) [documentation] › test/documentation/workspaces.test.ts:36:7 › Workspaces sidebar › Workspaces context menu
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.isChecked: Target page, context or browser has been closed
at src/utils.ts:311
309 | export function isInSimpleMode(page: Page): Promise<boolean> {
310 | const toggle = page.getByRole('switch', { name: 'Simple' });
> 311 | return toggle.isChecked();
| ^
312 | }
313 |
at Object.isInSimpleMode (/home/runner/work/jupyterlab/jupyterlab/core/galata/src/utils.ts:311:17)
at ActivityHelper.isTabActive (/home/runner/work/jupyterlab/jupyterlab/core/galata/src/helpers/activity.ts:46:21)
at fn (/home/runner/work/jupyterlab/jupyterlab/core/galata/src/fixtures.ts:326:33)
at Timeout.check (/home/runner/work/jupyterlab/jupyterlab/core/galata/src/utils.ts:183:33)
|
[documentation] › test/documentation/debugger.test.ts:126:7 › Debugger › Breakpoints on exception:
core/galata/test/documentation/debugger.test.ts#L167
2) [documentation] › test/documentation/debugger.test.ts:126:7 › Debugger › Breakpoints on exception
Error: Screenshot comparison failed:
366 pixels (ratio 0.02 of all image pixels) are different.
Expected: /home/runner/work/jupyterlab/jupyterlab/core/galata/test/documentation/debugger.test.ts-snapshots/debugger-stop-on-unhandled-exception-documentation-linux.png
Received: /home/runner/work/jupyterlab/jupyterlab/core/galata/test-results/test-documentation-debugge-b2db7-er-Breakpoints-on-exception-documentation/debugger-stop-on-unhandled-exception-actual.png
Diff: /home/runner/work/jupyterlab/jupyterlab/core/galata/test-results/test-documentation-debugge-b2db7-er-Breakpoints-on-exception-documentation/debugger-stop-on-unhandled-exception-diff.png
165 | clip: { y: 110, x: 300, width: 300, height: 80 }
166 | })
> 167 | ).toMatchSnapshot('debugger_stop_on_unhandled_exception.png');
| ^
168 |
169 | await page.click('jp-button[title^=Continue]');
170 | await page.notebook.waitForRun(0);
at /home/runner/work/jupyterlab/jupyterlab/core/galata/test/documentation/debugger.test.ts:167:7
|
[documentation] › test/documentation/general.test.ts:20:7 › General › Welcome:
core/galata/test/documentation/general.test.ts#L1
3) [documentation] › test/documentation/general.test.ts:20:7 › General › Welcome ─────────────────
Test timeout of 90000ms exceeded.
|
[jupyterlab] › test/jupyterlab/debugger.test.ts:125:7 › Debugger Tests › Start debug session (Script):
galata/test/jupyterlab/debugger.test.ts#L1
1) [jupyterlab] › test/jupyterlab/debugger.test.ts:125:7 › Debugger Tests › Start debug session (Script)
Test timeout of 60000ms exceeded.
|
[jupyterlab] › test/jupyterlab/debugger.test.ts:125:7 › Debugger Tests › Start debug session (Script):
galata/src/helpers/activity.ts#L158
1) [jupyterlab] › test/jupyterlab/debugger.test.ts:125:7 › Debugger Tests › Start debug session (Script)
Error: locator.getAttribute: Target page, context or browser has been closed
at src/helpers/activity.ts:158
156 | locator = this.page.getByRole('main').getByRole('tabpanel', { name });
157 | } else {
> 158 | const id = await this.getTabLocator().getAttribute('data-id');
| ^
159 | if (!id) {
160 | return null;
161 | }
at ActivityHelper.getPanelLocator (/home/runner/work/jupyterlab/jupyterlab/galata/src/helpers/activity.ts:158:45)
at NotebookHelper.getToolbarLocator (/home/runner/work/jupyterlab/jupyterlab/galata/src/helpers/notebook.ts:150:28)
at DebuggerHelper.isOn (/home/runner/work/jupyterlab/jupyterlab/galata/src/helpers/debuggerpanel.ts:27:41)
at fn (/home/runner/work/jupyterlab/jupyterlab/galata/src/helpers/debuggerpanel.ts:55:51)
at Timeout.check (/home/runner/work/jupyterlab/jupyterlab/galata/src/utils.ts:183:33)
|
[jupyterlab] › test/jupyterlab/notebook-markdown.test.ts:86:7 › Notebook Markdown › Render a MermaidJS flowchart:
galata/test/jupyterlab/notebook-markdown.test.ts#L89
2) [jupyterlab] › test/jupyterlab/notebook-markdown.test.ts:86:7 › Notebook Markdown › Render a MermaidJS flowchart
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
87 | const imageName = 'render-mermaid-flowchart.png';
88 | const cell = await page.notebook.getCellLocator(3);
> 89 | expect(await cell!.screenshot()).toMatchSnapshot(imageName);
| ^
90 | });
91 |
92 | test('Render a MermaidJS error', async ({ page, tmpPath }) => {
at /home/runner/work/jupyterlab/jupyterlab/galata/test/jupyterlab/notebook-markdown.test.ts:89:24
|
[jupyterlab] › test/jupyterlab/notebook-markdown.test.ts:92:7 › Notebook Markdown › Render a MermaidJS error:
galata/test/jupyterlab/notebook-markdown.test.ts#L1
3) [jupyterlab] › test/jupyterlab/notebook-markdown.test.ts:92:7 › Notebook Markdown › Render a MermaidJS error
Test timeout of 60000ms exceeded.
|
[jupyterlab] › test/jupyterlab/notebook-markdown.test.ts:92:7 › Notebook Markdown › Render a MermaidJS error:
galata/test/jupyterlab/notebook-markdown.test.ts#L95
3) [jupyterlab] › test/jupyterlab/notebook-markdown.test.ts:92:7 › Notebook Markdown › Render a MermaidJS error
Error: locator.screenshot: Test timeout of 60000ms exceeded.
Call log:
- waiting for getByRole('main').locator('[role="tabpanel"][id="id-cbfd7996-f40d-4681-a78b-bd1309201044"]').locator('.jp-NotebookPanel-notebook').first().locator('.jp-Cell[data-windowed-list-index="4"]')
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/settings.test.ts:129:7 › change font-size › should Increase Content Font Size:
galata/test/jupyterlab/settings.test.ts#L132
4) [jupyterlab] › test/jupyterlab/settings.test.ts:129:7 › change font-size › should Increase Content Font Size
Error: proxy.evaluate: Execution context was destroyed, most likely because of a navigation.
130 | const markdownFile = await createMarkdownFile(page);
131 | await inputMarkdownFile(page, markdownFile);
> 132 | await page.evaluate(() => {
| ^
133 | return window.galata.app.commands.execute('fileeditor:markdown-preview');
134 | });
135 | const fontSize = await getMarkdownFontSize(page);
at /home/runner/work/jupyterlab/jupyterlab/galata/test/jupyterlab/settings.test.ts:132:16
|
[jupyterlab] › test/jupyterlab/settings.test.ts:147:7 › change font-size › should Decrease Content Font Size:
galata/test/jupyterlab/settings.test.ts#L150
5) [jupyterlab] › test/jupyterlab/settings.test.ts:147:7 › change font-size › should Decrease Content Font Size
Error: proxy.evaluate: Execution context was destroyed, most likely because of a navigation.
148 | const markdownFile = await createMarkdownFile(page);
149 | await inputMarkdownFile(page, markdownFile);
> 150 | await page.evaluate(() => {
| ^
151 | return window.galata.app.commands.execute('fileeditor:markdown-preview');
152 | });
153 | const fontSize = await getMarkdownFontSize(page);
at /home/runner/work/jupyterlab/jupyterlab/galata/test/jupyterlab/settings.test.ts:150:16
|
🎭 Playwright Run Summary
1 failed
[documentation] › test/documentation/workspaces.test.ts:36:7 › Workspaces sidebar › Workspaces context menu
3 flaky
[documentation] › test/documentation/debugger.test.ts:126:7 › Debugger › Breakpoints on exception
[documentation] › test/documentation/general.test.ts:20:7 › General › Welcome ──────────────────
[documentation] › test/documentation/general.test.ts:555:7 › General › Kernels and Terminals ───
59 passed (8.6m)
|
🎭 Playwright Run Summary
5 flaky
[jupyterlab] › test/jupyterlab/debugger.test.ts:125:7 › Debugger Tests › Start debug session (Script)
[jupyterlab] › test/jupyterlab/notebook-markdown.test.ts:86:7 › Notebook Markdown › Render a MermaidJS flowchart
[jupyterlab] › test/jupyterlab/notebook-markdown.test.ts:92:7 › Notebook Markdown › Render a MermaidJS error
[jupyterlab] › test/jupyterlab/settings.test.ts:129:7 › change font-size › should Increase Content Font Size
[jupyterlab] › test/jupyterlab/settings.test.ts:147:7 › change font-size › should Decrease Content Font Size
472 passed (30.9m)
|
Visual Regression Documentation (3.10.6)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-python@v4, actions/cache@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Visual Regression Tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-python@v4, actions/cache@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
jupyterlab-documentation-report
|
8.44 MB |
|
jupyterlab-documentation-test-assets
|
7.45 MB |
|
jupyterlab-galata-report
|
5.71 MB |
|
jupyterlab-galata-test-assets
|
210 Bytes |
|