Add CSS variables for background colors (#126) #182
Annotations
10 errors, 3 warnings, and 1 notice
tests/timing_outcomes.spec.ts:20:7 › Timing outcomes › "Execution started at" state:
ui-tests/tests/timing_outcomes.spec.ts#L28
1) tests/timing_outcomes.spec.ts:20:7 › Timing outcomes › "Execution started at" state ───────────
Error: Screenshot comparison failed:
9 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/jupyterlab-execute-time/jupyterlab-execute-time/ui-tests/tests/timing_outcomes.spec.ts-snapshots/execution-started-linux.png
Received: /home/runner/work/jupyterlab-execute-time/jupyterlab-execute-time/ui-tests/test-results/tests-timing_outcomes-Timi-109f7--Execution-started-at-state/execution-started-actual.png
Diff: /home/runner/work/jupyterlab-execute-time/jupyterlab-execute-time/ui-tests/test-results/tests-timing_outcomes-Timi-109f7--Execution-started-at-state/execution-started-diff.png
26 | const widget = await cell.waitForSelector('.execute-time');
27 | expect(await widget.textContent()).toContain('Execution started at');
> 28 | expect(await maskedScreenshot(widget)).toMatchSnapshot(
| ^
29 | 'execution-started.png'
30 | );
31 | });
at /home/runner/work/jupyterlab-execute-time/jupyterlab-execute-time/ui-tests/tests/timing_outcomes.spec.ts:28:44
|
tests/timing_outcomes.spec.ts:20:7 › Timing outcomes › "Execution started at" state:
ui-tests/tests/timing_outcomes.spec.ts#L28
1) tests/timing_outcomes.spec.ts:20:7 › Timing outcomes › "Execution started at" state ───────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
73 pixels (ratio 0.02 of all image pixels) are different.
Expected: /home/runner/work/jupyterlab-execute-time/jupyterlab-execute-time/ui-tests/tests/timing_outcomes.spec.ts-snapshots/execution-started-linux.png
Received: /home/runner/work/jupyterlab-execute-time/jupyterlab-execute-time/ui-tests/test-results/tests-timing_outcomes-Timi-109f7--Execution-started-at-state-retry1/execution-started-actual.png
Diff: /home/runner/work/jupyterlab-execute-time/jupyterlab-execute-time/ui-tests/test-results/tests-timing_outcomes-Timi-109f7--Execution-started-at-state-retry1/execution-started-diff.png
26 | const widget = await cell.waitForSelector('.execute-time');
27 | expect(await widget.textContent()).toContain('Execution started at');
> 28 | expect(await maskedScreenshot(widget)).toMatchSnapshot(
| ^
29 | 'execution-started.png'
30 | );
31 | });
at /home/runner/work/jupyterlab-execute-time/jupyterlab-execute-time/ui-tests/tests/timing_outcomes.spec.ts:28:44
|
tests/timing_outcomes.spec.ts:33:7 › Timing outcomes › "Last executed at" state:
ui-tests/tests/timing_outcomes.spec.ts#L41
2) tests/timing_outcomes.spec.ts:33:7 › Timing outcomes › "Last executed at" state ───────────────
Error: Screenshot comparison failed:
5 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/jupyterlab-execute-time/jupyterlab-execute-time/ui-tests/tests/timing_outcomes.spec.ts-snapshots/last-executed-linux.png
Received: /home/runner/work/jupyterlab-execute-time/jupyterlab-execute-time/ui-tests/test-results/tests-timing_outcomes-Timing-outcomes-Last-executed-at-state/last-executed-actual.png
Diff: /home/runner/work/jupyterlab-execute-time/jupyterlab-execute-time/ui-tests/test-results/tests-timing_outcomes-Timing-outcomes-Last-executed-at-state/last-executed-diff.png
39 | const widget = await cell.waitForSelector('.execute-time');
40 | expect(await widget.textContent()).toContain('Last executed at');
> 41 | expect(await maskedScreenshot(widget)).toMatchSnapshot('last-executed.png');
| ^
42 | });
43 |
44 | // Skipped for now as this requires JupyterLab 4.1.
at /home/runner/work/jupyterlab-execute-time/jupyterlab-execute-time/ui-tests/tests/timing_outcomes.spec.ts:41:44
|
tests/timing_outcomes.spec.ts:33:7 › Timing outcomes › "Last executed at" state:
ui-tests/tests/timing_outcomes.spec.ts#L41
2) tests/timing_outcomes.spec.ts:33:7 › Timing outcomes › "Last executed at" state ───────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
5 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/jupyterlab-execute-time/jupyterlab-execute-time/ui-tests/tests/timing_outcomes.spec.ts-snapshots/last-executed-linux.png
Received: /home/runner/work/jupyterlab-execute-time/jupyterlab-execute-time/ui-tests/test-results/tests-timing_outcomes-Timing-outcomes-Last-executed-at-state-retry1/last-executed-actual.png
Diff: /home/runner/work/jupyterlab-execute-time/jupyterlab-execute-time/ui-tests/test-results/tests-timing_outcomes-Timing-outcomes-Last-executed-at-state-retry1/last-executed-diff.png
39 | const widget = await cell.waitForSelector('.execute-time');
40 | expect(await widget.textContent()).toContain('Last executed at');
> 41 | expect(await maskedScreenshot(widget)).toMatchSnapshot('last-executed.png');
| ^
42 | });
43 |
44 | // Skipped for now as this requires JupyterLab 4.1.
at /home/runner/work/jupyterlab-execute-time/jupyterlab-execute-time/ui-tests/tests/timing_outcomes.spec.ts:41:44
|
tests/timing_outcomes.spec.ts:45:7 › Timing outcomes › "Failed" state:
ui-tests/tests/timing_outcomes.spec.ts#L57
3) tests/timing_outcomes.spec.ts:45:7 › Timing outcomes › "Failed" state ─────────────────────────
Error: Screenshot comparison failed:
3 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/jupyterlab-execute-time/jupyterlab-execute-time/ui-tests/tests/timing_outcomes.spec.ts-snapshots/failed-linux.png
Received: /home/runner/work/jupyterlab-execute-time/jupyterlab-execute-time/ui-tests/test-results/tests-timing_outcomes-Timing-outcomes-Failed-state/failed-actual.png
Diff: /home/runner/work/jupyterlab-execute-time/jupyterlab-execute-time/ui-tests/test-results/tests-timing_outcomes-Timing-outcomes-Failed-state/failed-diff.png
55 | const widget = await cell.$('.execute-time');
56 | expect(await widget.textContent()).toContain('Failed');
> 57 | expect(await maskedScreenshot(widget)).toMatchSnapshot('failed.png');
| ^
58 | });
59 | });
60 |
at /home/runner/work/jupyterlab-execute-time/jupyterlab-execute-time/ui-tests/tests/timing_outcomes.spec.ts:57:44
|
tests/timing_outcomes.spec.ts:45:7 › Timing outcomes › "Failed" state:
ui-tests/tests/timing_outcomes.spec.ts#L57
3) tests/timing_outcomes.spec.ts:45:7 › Timing outcomes › "Failed" state ─────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
3 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/jupyterlab-execute-time/jupyterlab-execute-time/ui-tests/tests/timing_outcomes.spec.ts-snapshots/failed-linux.png
Received: /home/runner/work/jupyterlab-execute-time/jupyterlab-execute-time/ui-tests/test-results/tests-timing_outcomes-Timing-outcomes-Failed-state-retry1/failed-actual.png
Diff: /home/runner/work/jupyterlab-execute-time/jupyterlab-execute-time/ui-tests/test-results/tests-timing_outcomes-Timing-outcomes-Failed-state-retry1/failed-diff.png
55 | const widget = await cell.$('.execute-time');
56 | expect(await widget.textContent()).toContain('Failed');
> 57 | expect(await maskedScreenshot(widget)).toMatchSnapshot('failed.png');
| ^
58 | });
59 | });
60 |
at /home/runner/work/jupyterlab-execute-time/jupyterlab-execute-time/ui-tests/tests/timing_outcomes.spec.ts:57:44
|
tests/timing_outputs_outcomes.spec.ts:21:7 › Timing outcomes with › "Last executed at" state:
ui-tests/tests/timing_outputs_outcomes.spec.ts#L30
4) tests/timing_outputs_outcomes.spec.ts:21:7 › Timing outcomes with › "Last executed at" state ─
Error: Screenshot comparison failed:
12 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/jupyterlab-execute-time/jupyterlab-execute-time/ui-tests/tests/timing_outputs_outcomes.spec.ts-snapshots/last-executed-outputs-linux.png
Received: /home/runner/work/jupyterlab-execute-time/jupyterlab-execute-time/ui-tests/test-results/tests-timing_outputs_outco-d25bf-with-Last-executed-at-state/last-executed-outputs-actual.png
Diff: /home/runner/work/jupyterlab-execute-time/jupyterlab-execute-time/ui-tests/test-results/tests-timing_outputs_outco-d25bf-with-Last-executed-at-state/last-executed-outputs-diff.png
28 | expect(await widget.textContent()).toContain('Last executed at');
29 | expect(await widget.textContent()).toContain('outputs at');
> 30 | expect(await maskedScreenshot(widget)).toMatchSnapshot(
| ^
31 | 'last-executed-outputs.png'
32 | );
33 | });
at /home/runner/work/jupyterlab-execute-time/jupyterlab-execute-time/ui-tests/tests/timing_outputs_outcomes.spec.ts:30:44
|
tests/timing_outputs_outcomes.spec.ts:21:7 › Timing outcomes with › "Last executed at" state:
ui-tests/tests/timing_outputs_outcomes.spec.ts#L30
4) tests/timing_outputs_outcomes.spec.ts:21:7 › Timing outcomes with › "Last executed at" state ─
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
12 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/jupyterlab-execute-time/jupyterlab-execute-time/ui-tests/tests/timing_outputs_outcomes.spec.ts-snapshots/last-executed-outputs-linux.png
Received: /home/runner/work/jupyterlab-execute-time/jupyterlab-execute-time/ui-tests/test-results/tests-timing_outputs_outco-d25bf-with-Last-executed-at-state-retry1/last-executed-outputs-actual.png
Diff: /home/runner/work/jupyterlab-execute-time/jupyterlab-execute-time/ui-tests/test-results/tests-timing_outputs_outco-d25bf-with-Last-executed-at-state-retry1/last-executed-outputs-diff.png
28 | expect(await widget.textContent()).toContain('Last executed at');
29 | expect(await widget.textContent()).toContain('outputs at');
> 30 | expect(await maskedScreenshot(widget)).toMatchSnapshot(
| ^
31 | 'last-executed-outputs.png'
32 | );
33 | });
at /home/runner/work/jupyterlab-execute-time/jupyterlab-execute-time/ui-tests/tests/timing_outputs_outcomes.spec.ts:30:44
|
tests/windowed_notebook.spec.ts:21:7 › Windowed notebook › Node attaches after scrolling into view:
ui-tests/tests/windowed_notebook.spec.ts#L39
5) tests/windowed_notebook.spec.ts:21:7 › Windowed notebook › Node attaches after scrolling into view
Error: expect(received).toBeTruthy()
Received: false
37 | expect(await lastCellLocator.isHidden()).toBeTruthy();
38 | const widgetLocator = lastCellLocator.locator('.execute-time');
> 39 | expect(await widgetLocator.isHidden()).toBeTruthy();
| ^
40 | // Scroll to the 100th cell
41 | await page.notebook.getCell(100);
42 | // The widget should be shown
at /home/runner/work/jupyterlab-execute-time/jupyterlab-execute-time/ui-tests/tests/windowed_notebook.spec.ts:39:44
|
Integration tests
Process completed with exit code 1.
|
build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
test_isolated
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Integration tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
🎭 Playwright Run Summary
4 failed
tests/timing_outcomes.spec.ts:20:7 › Timing outcomes › "Execution started at" state ────────────
tests/timing_outcomes.spec.ts:33:7 › Timing outcomes › "Last executed at" state ────────────────
tests/timing_outcomes.spec.ts:45:7 › Timing outcomes › "Failed" state ──────────────────────────
tests/timing_outputs_outcomes.spec.ts:21:7 › Timing outcomes with › "Last executed at" state ──
1 flaky
tests/windowed_notebook.spec.ts:21:7 › Windowed notebook › Node attaches after scrolling into view
4 passed (2.4m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
extension-artifacts
|
215 KB |
|
jupyterlab_execute_time-playwright-tests
|
123 MB |
|