Skip to content

fix: restoring widgets from saved state is broken since v8 in Lab #1819

fix: restoring widgets from saved state is broken since v8 in Lab

fix: restoring widgets from saved state is broken since v8 in Lab #1819

Status Failure
Total duration 11m 45s
Artifacts 3

tests.yml

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

Annotations

4 errors, 2 warnings, 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.
Visual Regression
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-python@v4, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Documentation
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-python@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
🎭 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 (23.9s)

Artifacts

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