Skip to content

Add an option to show the cell outputs per second #164

Add an option to show the cell outputs per second

Add an option to show the cell outputs per second #164

Re-run triggered April 23, 2024 16:36
Status Failure
Total duration 6m 3s
Artifacts 2

build.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 1 notice
tests/timing_outputs_outcomes.spec.ts:21:7 › Timing outcomes › "Execution started at" state: ui-tests/tests/timing_outputs_outcomes.spec.ts#L29
1) tests/timing_outputs_outcomes.spec.ts:21:7 › Timing outcomes › "Execution started at" state ─── Error: A snapshot doesn't exist at /home/runner/work/jupyterlab-execute-time/jupyterlab-execute-time/ui-tests/tests/timing_outputs_outcomes.spec.ts-snapshots/execution-started-outputs-linux.png. 27 | const widget = await cell.waitForSelector('.execute-time'); 28 | expect(await widget.textContent()).toContain('Execution started at'); > 29 | expect(await maskedScreenshot(widget)).toMatchSnapshot( | ^ 30 | 'execution-started-outputs.png' 31 | ); 32 | }); at /home/runner/work/jupyterlab-execute-time/jupyterlab-execute-time/ui-tests/tests/timing_outputs_outcomes.spec.ts:29:44
tests/timing_outputs_outcomes.spec.ts:21:7 › Timing outcomes › "Execution started at" state: ui-tests/tests/timing_outputs_outcomes.spec.ts#L29
1) tests/timing_outputs_outcomes.spec.ts:21:7 › Timing outcomes › "Execution started at" state ─── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: A snapshot doesn't exist at /home/runner/work/jupyterlab-execute-time/jupyterlab-execute-time/ui-tests/tests/timing_outputs_outcomes.spec.ts-snapshots/execution-started-outputs-linux.png, writing actual. 27 | const widget = await cell.waitForSelector('.execute-time'); 28 | expect(await widget.textContent()).toContain('Execution started at'); > 29 | expect(await maskedScreenshot(widget)).toMatchSnapshot( | ^ 30 | 'execution-started-outputs.png' 31 | ); 32 | }); at /home/runner/work/jupyterlab-execute-time/jupyterlab-execute-time/ui-tests/tests/timing_outputs_outcomes.spec.ts:29:44
tests/timing_outputs_outcomes.spec.ts:34:7 › Timing outcomes › "Last executed at" state: ui-tests/tests/timing_outputs_outcomes.spec.ts#L42
2) tests/timing_outputs_outcomes.spec.ts:34:7 › Timing outcomes › "Last executed at" state ─────── Error: expect(received).toContain(expected) // indexOf Expected substring: "outputs at" Received string: "Last executed at 2024-04-23 16:41:21 in 17ms" 40 | const widget = await cell.waitForSelector('.execute-time'); 41 | expect(await widget.textContent()).toContain('Last executed at'); > 42 | expect(await widget.textContent()).toContain('outputs at'); | ^ 43 | expect(await maskedScreenshot(widget)).toMatchSnapshot('last-executed-outputs.png'); 44 | }); 45 | }); at /home/runner/work/jupyterlab-execute-time/jupyterlab-execute-time/ui-tests/tests/timing_outputs_outcomes.spec.ts:42:40
tests/timing_outputs_outcomes.spec.ts:34:7 › Timing outcomes › "Last executed at" state: ui-tests/tests/timing_outputs_outcomes.spec.ts#L42
2) tests/timing_outputs_outcomes.spec.ts:34:7 › Timing outcomes › "Last executed at" state ─────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toContain(expected) // indexOf Expected substring: "outputs at" Received string: "Last executed at 2024-04-23 16:41:31 in 15ms" 40 | const widget = await cell.waitForSelector('.execute-time'); 41 | expect(await widget.textContent()).toContain('Last executed at'); > 42 | expect(await widget.textContent()).toContain('outputs at'); | ^ 43 | expect(await maskedScreenshot(widget)).toMatchSnapshot('last-executed-outputs.png'); 44 | }); 45 | }); at /home/runner/work/jupyterlab-execute-time/jupyterlab-execute-time/ui-tests/tests/timing_outputs_outcomes.spec.ts:42:40
Integration tests
Process completed with exit code 1.
🎭 Playwright Run Summary
2 failed tests/timing_outputs_outcomes.spec.ts:21:7 › Timing outcomes › "Execution started at" state ──── tests/timing_outputs_outcomes.spec.ts:34:7 › Timing outcomes › "Last executed at" state ──────── 7 passed (1.7m)

Artifacts

Produced during runtime
Name Size
extension-artifacts Expired
214 KB
jupyterlab_execute_time-playwright-tests Expired
12.6 MB