Skip to content

fix: restoring widgets from saved state is broken since v8 #5

fix: restoring widgets from saved state is broken since v8

fix: restoring widgets from saved state is broken since v8 #5

Triggered via push January 18, 2024 08:29
Status Failure
Total duration 10m 6s
Artifacts 3

tests.yml

on: push
Matrix: Python
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 2 notices
tests/widgets.test.ts:19:7 › Widget Visual Regression › Run notebook widgets.ipynb and capture cell outputs: ui-tests/tests/widgets.test.ts#L43
1) tests/widgets.test.ts:19:7 › Widget Visual Regression › Run notebook widgets.ipynb and capture cell outputs Error: Screenshot comparison failed: 49 pixels (ratio 0.01 of all image pixels) are different. Expected: /home/runner/work/ipywidgets/ipywidgets/ui-tests/test-results/tests-widgets-Widget-Visual-Regression-Run-notebook-widgets-ipynb-and-capture-cell-outputs/widgets-cell-40-expected.png Received: /home/runner/work/ipywidgets/ipywidgets/ui-tests/test-results/tests-widgets-Widget-Visual-Regression-Run-notebook-widgets-ipynb-and-capture-cell-outputs/widgets-cell-40-actual.png Diff: /home/runner/work/ipywidgets/ipywidgets/ui-tests/test-results/tests-widgets-Widget-Visual-Regression-Run-notebook-widgets-ipynb-and-capture-cell-outputs/widgets-cell-40-diff.png 41 | for (let i = 0; i < cellCount; i++) { 42 | const image = `widgets-cell-${i}.png`; > 43 | expect(captures[i]).toMatchSnapshot(image); | ^ 44 | } 45 | }); 46 | }); at /home/runner/work/ipywidgets/ipywidgets/ui-tests/tests/widgets.test.ts:43:27
tests/widgets.test.ts:19:7 › Widget Visual Regression › Run notebook widgets.ipynb and capture cell outputs: ui-tests/tests/widgets.test.ts#L43
1) tests/widgets.test.ts:19:7 › Widget Visual Regression › Run notebook widgets.ipynb and capture cell outputs Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Screenshot comparison failed: 49 pixels (ratio 0.01 of all image pixels) are different. Expected: /home/runner/work/ipywidgets/ipywidgets/ui-tests/test-results/tests-widgets-Widget-Visual-Regression-Run-notebook-widgets-ipynb-and-capture-cell-outputs-retry1/widgets-cell-40-expected.png Received: /home/runner/work/ipywidgets/ipywidgets/ui-tests/test-results/tests-widgets-Widget-Visual-Regression-Run-notebook-widgets-ipynb-and-capture-cell-outputs-retry1/widgets-cell-40-actual.png Diff: /home/runner/work/ipywidgets/ipywidgets/ui-tests/test-results/tests-widgets-Widget-Visual-Regression-Run-notebook-widgets-ipynb-and-capture-cell-outputs-retry1/widgets-cell-40-diff.png 41 | for (let i = 0; i < cellCount; i++) { 42 | const image = `widgets-cell-${i}.png`; > 43 | expect(captures[i]).toMatchSnapshot(image); | ^ 44 | } 45 | }); 46 | }); at /home/runner/work/ipywidgets/ipywidgets/ui-tests/tests/widgets.test.ts:43:27
Visual Regression
Process completed with exit code 1.
Documentation
Process completed with exit code 1.
🎭 Playwright Run Summary
1 failed tests/widgets.test.ts:19:7 › Widget Visual Regression › Run notebook widgets.ipynb and capture cell outputs
🎭 Playwright Run Summary
1 passed (25.0s)

Artifacts

Produced during runtime
Name Size
ipywidgets-test-assets Expired
3.77 MB
ipywidgets-test-report Expired
4.2 MB
ipywidgets-updated-snapshots Expired
198 KB