Add an option to show the cell outputs per second #164
Annotations
5 errors and 1 notice
Execute integration tests:
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
|
Execute integration tests:
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
|
Execute integration tests:
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
|
Execute integration tests:
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
|
Execute integration tests
Process completed with exit code 1.
|
Execute integration tests
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)
|
Loading