Skip to content

Debug ci

Debug ci #441

Triggered via pull request November 24, 2024 09:18
@krassowskikrassowski
synchronize #139
debug-ci
Status Success
Total duration 38m 43s
Artifacts 3

galata.yml

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

Annotations

10 errors, 1 warning, and 2 notices
[documentation] › test/documentation/debugger.test.ts:126:7 › Debugger › Breakpoints on exception: core/galata/test/documentation/debugger.test.ts#L189
1) [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#L457
1) [documentation] › test/documentation/debugger.test.ts:126:7 › Debugger › Breakpoints on exception Error: page.evaluate: Test ended. at src/helpers/notebook.ts:457 455 | do { 456 | await this.page.waitForTimeout(20); > 457 | done = await this.page.evaluate(cellIdx => { | ^ 458 | return window.galata.haveBeenExecuted(cellIdx); 459 | }, cellIndex); 460 | } while (!done); at NotebookHelper.waitForRun (/home/runner/work/jupyterlab/jupyterlab/core/galata/src/helpers/notebook.ts:457:30) at NotebookHelper.runCell (/home/runner/work/jupyterlab/jupyterlab/core/galata/src/helpers/notebook.ts:1411:5)
[documentation] › test/documentation/general.test.ts:116:7 › General › Right Sidebar: core/galata/test/documentation/general.test.ts#L147
2) [documentation] › test/documentation/general.test.ts:116:7 › General › Right Sidebar ────────── Error: Screenshot comparison failed: 21 pixels (ratio 0.01 of all image pixels) are different. Expected: /home/runner/work/jupyterlab/jupyterlab/core/galata/test/documentation/general.test.ts-snapshots/interface-right-common-documentation-linux.png Received: /home/runner/work/jupyterlab/jupyterlab/core/galata/test-results/test-documentation-general-General-Right-Sidebar-documentation/interface-right-common-actual.png Diff: /home/runner/work/jupyterlab/jupyterlab/core/galata/test-results/test-documentation-general-General-Right-Sidebar-documentation/interface-right-common-diff.png 145 | clip: { y: 32, x: 997, width: 283, height: 400 } 146 | }) > 147 | ).toMatchSnapshot('interface_right_common.png'); | ^ 148 | 149 | // Expect the 'Raw NbConvert Format' field to be displayed only on raw cells 150 | await expect( at /home/runner/work/jupyterlab/jupyterlab/core/galata/test/documentation/general.test.ts:147:7
[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/html-viewer.test.ts:26:7 › HTML Viewer › should notify links are blocked for untrusted file: galata/test/jupyterlab/html-viewer.test.ts#L30
2) [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/inline-completer.test.ts:49:9 › Inline Completer › Widget "onHover": galata/src/galata.ts#L901
3) [jupyterlab] › test/jupyterlab/inline-completer.test.ts:49:9 › Inline Completer › Widget "onHover", shortcuts on › Widget shows up on hover Error: Response has been disposed at src/galata.ts:901 899 | break; 900 | } > 901 | const data = (await response.json()) as any[]; | ^ 902 | const updated = new Set<string>(); 903 | data.forEach(item => { 904 | const itemID: string = at /home/runner/work/jupyterlab/jupyterlab/galata/src/galata.ts:901:29
[jupyterlab] › test/jupyterlab/inline-completer.test.ts:102:9 › Inline Completer › Widget "always": galata/test/jupyterlab/inline-completer.test.ts#L22
4) [jupyterlab] › test/jupyterlab/inline-completer.test.ts:102:9 › Inline Completer › Widget "always", shortcuts off › Focusing on widget does not hide it Test timeout of 60000ms exceeded while running "beforeEach" hook. 20 | 21 | test.describe('Inline Completer', () => { > 22 | test.beforeEach(async ({ page }) => { | ^ 23 | await page.notebook.createNew(fileName); 24 | await page.notebook.setCell(0, 'code', 'suggestion_1 = 1'); 25 | await page.notebook.addCell( at /home/runner/work/jupyterlab/jupyterlab/galata/test/jupyterlab/inline-completer.test.ts:22:8
[jupyterlab] › test/jupyterlab/inline-completer.test.ts:102:9 › Inline Completer › Widget "always": galata/src/helpers/notebook.ts#L1269
4) [jupyterlab] › test/jupyterlab/inline-completer.test.ts:102:9 › Inline Completer › Widget "always", shortcuts off › Focusing on widget does not hide it Error: locator.evaluate: Test timeout of 60000ms exceeded. at src/helpers/notebook.ts:1269 1267 | // Wait until the CodeMirror highlighting is stable 1268 | // over 10 consecutive animation frames. > 1269 | await cell.evaluate((cell: HTMLElement) => { | ^ 1270 | let _resolve: () => void; 1271 | const promise = new Promise<void>(resolve => { 1272 | _resolve = resolve; at NotebookHelper.setCell (/home/runner/work/jupyterlab/jupyterlab/galata/src/helpers/notebook.ts:1269:18) at /home/runner/work/jupyterlab/jupyterlab/galata/test/jupyterlab/inline-completer.test.ts:24:5
[jupyterlab] › test/jupyterlab/windowed-notebook.test.ts:48:5 › should update window height on resize: galata/test/jupyterlab/windowed-notebook.test.ts#L81
5) [jupyterlab] › test/jupyterlab/windowed-notebook.test.ts:48:5 › should update window height on resize Error: expect(received).toBeGreaterThan(expected) Expected: > 351 Received: 351 79 | const heightAfterResize = await getWindowHeight(notebook!); 80 | > 81 | expect(heightAfterResize).toBeGreaterThan(heightAfterSplit); | ^ 82 | }); 83 | 84 | test('should not update height when hiding', async ({ page, tmpPath }) => { at /home/runner/work/jupyterlab/jupyterlab/galata/test/jupyterlab/windowed-notebook.test.ts:81:29
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
2 flaky [documentation] › test/documentation/debugger.test.ts:126:7 › Debugger › Breakpoints on exception [documentation] › test/documentation/general.test.ts:116:7 › General › Right Sidebar ─────────── 61 passed (4.3m)
🎭 Playwright Run Summary
5 flaky [jupyterlab] › test/jupyterlab/debugger.test.ts:125:7 › Debugger Tests › Start debug session (Script) [jupyterlab] › test/jupyterlab/html-viewer.test.ts:26:7 › HTML Viewer › should notify links are blocked for untrusted file [jupyterlab] › test/jupyterlab/inline-completer.test.ts:49:9 › Inline Completer › Widget "onHover", shortcuts on › Widget shows up on hover [jupyterlab] › test/jupyterlab/inline-completer.test.ts:102:9 › Inline Completer › Widget "always", shortcuts off › Focusing on widget does not hide it [jupyterlab] › test/jupyterlab/windowed-notebook.test.ts:48:5 › should update window height on resize 486 passed (31.2m)

Artifacts

Produced during runtime
Name Size
jupyterlab-documentation-report
1.11 MB
jupyterlab-documentation-test-assets
190 KB
jupyterlab-galata-report
4.84 MB