Skip to content

Add error field and animation in inline completion (#15344) #24413

Add error field and animation in inline completion (#15344)

Add error field and animation in inline completion (#15344) #24413

Triggered via push May 14, 2024 16:49
Status Failure
Total duration 39m 2s
Artifacts 3

galata.yml

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

Annotations

13 errors, 3 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/utils.ts#L311
1) [documentation] › test/documentation/workspaces.test.ts:36:7 › Workspaces sidebar › Workspaces context menu 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#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-4/34a7dc8e051246b94a5762fb40d2bd77.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#L189
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-raised-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-raised-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-raised-exception-diff.png 187 | clip: { y: 110, x: 300, width: 300, height: 80 } 188 | }) > 189 | ).toMatchSnapshot('debugger_stop_on_raised_exception.png'); | ^ 190 | await page.click('jp-button[title^=Continue]'); 191 | await page.click('jp-button[title^=Continue]'); 192 | }); at /home/runner/work/jupyterlab/jupyterlab/core/galata/test/documentation/debugger.test.ts:189:7
[documentation] › test/documentation/debugger.test.ts:126:7 › Debugger › Breakpoints on exception: core/galata/src/helpers/notebook.ts#L456
2) [documentation] › test/documentation/debugger.test.ts:126:7 › Debugger › Breakpoints on exception Error: page.waitForTimeout: Test ended. at src/helpers/notebook.ts:456 454 | let done = false; 455 | do { > 456 | await this.page.waitForTimeout(20); | ^ 457 | done = await this.page.evaluate(cellIdx => { 458 | return window.galata.haveBeenExecuted(cellIdx); 459 | }, cellIndex); at NotebookHelper.waitForRun (/home/runner/work/jupyterlab/jupyterlab/core/galata/src/helpers/notebook.ts:456:23) at NotebookHelper.runCell (/home/runner/work/jupyterlab/jupyterlab/core/galata/src/helpers/notebook.ts:1411:5)
[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/debuggerpanel.ts#L30
1) [jupyterlab] › test/jupyterlab/debugger.test.ts:125:7 › Debugger Tests › Start debug session (Script) Error: locator.getAttribute: Test timeout of 60000ms exceeded. Call log: - waiting for getByRole('main').locator('[role="tabpanel"][id="id-aab393d5-afd4-4a22-8612-589a083e63dd"]').locator('.jp-Toolbar').first().locator('.jp-DebuggerBugButton') at src/helpers/debuggerpanel.ts:30 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; 33 | } at DebuggerHelper.isOn (/home/runner/work/jupyterlab/jupyterlab/galata/src/helpers/debuggerpanel.ts:30:29) at /home/runner/work/jupyterlab/jupyterlab/galata/src/helpers/debuggerpanel.ts:55:40 at Timeout.check (/home/runner/work/jupyterlab/jupyterlab/galata/src/utils.ts:183:11)
[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
2) [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-a2ac95b1-e32c-49c3-999f-765d08a2f04d"]').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-a2ac95b1-e32c-49c3-999f-765d08a2f04d"]').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-l…>…</div> - unexpected value "viewport ratio 0.009747706353664398" - locator resolved to <div tabindex="0" data-windowed-list-index="2" aria-l…>…</div> - unexpected value "viewport ratio 0.009747706353664398" - locator resolved to <div tabindex="0" data-windowed-list-index="2" aria-l…>…</div> - unexpected value "viewport ratio 0.009747706353664398" - locator resolved to <div tabindex="0" data-windowed-list-index="2" aria-l…>…</div> - unexpected value "viewport ratio 0.009747706353664398" - locator resolved to <div tabindex="0" data-windowed-list-index="2" aria-l…>…</div> - unexpected value "viewport ratio 0.009747706353664398" - locator resolved to <div tabindex="0" data-windowed-list-index="2" aria-l…>…</div> - unexpected value "viewport ratio 0.009747706353664398" - locator resolved to <div tabindex="0" data-windowed-list-index="2" aria-l…>…</div> - unexpected value "viewport ratio 0.009747706353664398" - locator resolved to <div tabindex="0" data-windowed-list-index="2" aria-l…>…</div> - unexpected value "viewport ratio 0.009747706353664398" - locator resolved to <div tabindex="0" data-windowed-list-index="2" aria-l…>…</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
🎭 Playwright Run Summary
1 failed [documentation] › test/documentation/workspaces.test.ts:36:7 › Workspaces sidebar › Workspaces context menu 2 flaky [documentation] › test/documentation/debugger.test.ts:126:7 › Debugger › Breakpoints on exception [documentation] › test/documentation/general.test.ts:555:7 › General › Kernels and Terminals ─── 60 passed (9.1m)
🎭 Playwright Run Summary
2 flaky [jupyterlab] › test/jupyterlab/debugger.test.ts:125:7 › Debugger Tests › Start debug session (Script) [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 475 passed (31.8m)
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/.
Visual Regression Tests
No files were found with the provided path: galata/test-jupyterlab-results galata/test-results. No artifacts will be uploaded.

Artifacts

Produced during runtime
Name Size
jupyterlab-documentation-report
1.25 MB
jupyterlab-documentation-test-assets
378 KB
jupyterlab-galata-report
3.39 MB