Disable test checking in jest #379
Annotations
7 errors, 2 warnings, and 1 notice
Test:
galata/test/jupyterlab/inline-completer.test.ts#L21
1) [jupyterlab] › test/jupyterlab/inline-completer.test.ts:141:9 › Inline Completer › Invoke on Tab › Shows up on Tab
Test timeout of 60000ms exceeded while running "beforeEach" hook.
19 |
20 | test.describe('Inline Completer', () => {
> 21 | test.beforeEach(async ({ page }) => {
| ^
22 | await page.notebook.createNew(fileName);
23 | await page.notebook.setCell(0, 'code', 'suggestion_1 = 1');
24 | await page.notebook.addCell('code', 'suggestion_2 = 2');
at /home/runner/work/jupyterlab/jupyterlab/galata/test/jupyterlab/inline-completer.test.ts:21:8
|
Test:
galata/src/helpers/notebook.ts#L1264
1) [jupyterlab] › test/jupyterlab/inline-completer.test.ts:141:9 › Inline Completer › Invoke on Tab › Shows up on Tab
Error: locator.evaluate: Target page, context or browser has been closed
at src/helpers/notebook.ts:1264
1262 | // Wait until the CodeMirror highlighting is stable
1263 | // over 10 consecutive animation frames.
> 1264 | await cell.evaluate((cell: HTMLElement) => {
| ^
1265 | let _resolve: () => void;
1266 | const promise = new Promise<void>(resolve => {
1267 | _resolve = resolve;
at NotebookHelper.setCell (/home/runner/work/jupyterlab/jupyterlab/galata/src/helpers/notebook.ts:1264:18)
at NotebookHelper.addCell (/home/runner/work/jupyterlab/jupyterlab/galata/src/helpers/notebook.ts:1218:12)
at /home/runner/work/jupyterlab/jupyterlab/galata/test/jupyterlab/inline-completer.test.ts:24:5
|
Test:
galata/test/jupyterlab/notebook-run.test.ts#L62
2) [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
|
Test:
galata/test/jupyterlab/notebook-scroll-no-windowing.test.ts#L203
3) [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: expect(received).toBeInViewport()
Call log:
- expect.toBeInViewport with timeout 5000ms
- waiting for getByRole('main').locator('[role="tabpanel"][id="id-bf9031b6-a71f-4792-b77d-1449a45fbb89"]').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"
- waiting for getByRole('main').locator('[role="tabpanel"][id="id-bf9031b6-a71f-4792-b77d-1449a45fbb89"]').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"
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
|
Test:
galata/test/jupyterlab/notebook-scroll.test.ts#L316
4) [jupyterlab] › test/jupyterlab/notebook-scroll.test.ts:282:7 › Notebook scroll over long outputs (with windowing) › should scroll smoothly without snapping to headings
Error: expect(received).toBeLessThanOrEqual(expected)
Expected: <= 125
Received: 127
314 | // The scroll should be by about 100px, but because wheel event
315 | // does not wait we allow for some wiggle room (+/-25px).
> 316 | expect(diff).toBeLessThanOrEqual(125);
| ^
317 | expect(diff).toBeGreaterThan(75);
318 | previousOffset = offset;
319 | }
at /home/runner/work/jupyterlab/jupyterlab/galata/test/jupyterlab/notebook-scroll.test.ts:316:20
|
Test:
galata/test/jupyterlab/outputarea-stdin.test.ts#L1
5) [jupyterlab] › test/jupyterlab/outputarea-stdin.test.ts:31:7 › Stdin for ipdb › Stdin history search
Test timeout of 60000ms exceeded.
|
Test:
galata/src/helpers/notebook.ts#L1264
5) [jupyterlab] › test/jupyterlab/outputarea-stdin.test.ts:31:7 › Stdin for ipdb › Stdin history search
Error: locator.evaluate: Target page, context or browser has been closed
at src/helpers/notebook.ts:1264
1262 | // Wait until the CodeMirror highlighting is stable
1263 | // over 10 consecutive animation frames.
> 1264 | await cell.evaluate((cell: HTMLElement) => {
| ^
1265 | let _resolve: () => void;
1266 | const promise = new Promise<void>(resolve => {
1267 | _resolve = resolve;
at NotebookHelper.setCell (/home/runner/work/jupyterlab/jupyterlab/galata/src/helpers/notebook.ts:1264:18)
at /home/runner/work/jupyterlab/jupyterlab/galata/test/jupyterlab/outputarea-stdin.test.ts:32:5
|
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/.
|
Upload Galata Test assets
No files were found with the provided path: galata/test-jupyterlab-results
galata/test-results. No artifacts will be uploaded.
|
Test
5 flaky
[jupyterlab] › test/jupyterlab/inline-completer.test.ts:141:9 › Inline Completer › Invoke on Tab › Shows up on Tab
[jupyterlab] › test/jupyterlab/notebook-run.test.ts:33:7 › Notebook Run › Run Notebook and capture cell outputs
[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
[jupyterlab] › test/jupyterlab/notebook-scroll.test.ts:282:7 › Notebook scroll over long outputs (with windowing) › should scroll smoothly without snapping to headings
[jupyterlab] › test/jupyterlab/outputarea-stdin.test.ts:31:7 › Stdin for ipdb › Stdin history search
435 passed (28.6m)
|
Loading