Skip to content

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

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

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

Triggered via pull request February 8, 2024 13:55
Status Failure
Total duration 10m 17s
Artifacts 3

tests.yml

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

Annotations

6 errors, 8 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: 674 pixels (ratio 0.02 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-43-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-43-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-43-diff.png 41 | for (let i = 0; i < cellCount; i++) { 42 | const image = `widgets-cell-${i}.png`; > 43 | expect.soft(captures[i]).toMatchSnapshot(image); | ^ 44 | } 45 | }); 46 | }); at /home/runner/work/ipywidgets/ipywidgets/ui-tests/tests/widgets.test.ts:43:32
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: Expected an image 656px by 151px, received 656px by 144px. 3122 pixels (ratio 0.04 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-44-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-44-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-44-diff.png 41 | for (let i = 0; i < cellCount; i++) { 42 | const image = `widgets-cell-${i}.png`; > 43 | expect.soft(captures[i]).toMatchSnapshot(image); | ^ 44 | } 45 | }); 46 | }); at /home/runner/work/ipywidgets/ipywidgets/ui-tests/tests/widgets.test.ts:43:32
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: 674 pixels (ratio 0.02 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-43-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-43-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-43-diff.png 41 | for (let i = 0; i < cellCount; i++) { 42 | const image = `widgets-cell-${i}.png`; > 43 | expect.soft(captures[i]).toMatchSnapshot(image); | ^ 44 | } 45 | }); 46 | }); at /home/runner/work/ipywidgets/ipywidgets/ui-tests/tests/widgets.test.ts:43:32
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: Expected an image 656px by 151px, received 656px by 144px. 3122 pixels (ratio 0.04 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-44-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-44-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-44-diff.png 41 | for (let i = 0; i < cellCount; i++) { 42 | const image = `widgets-cell-${i}.png`; > 43 | expect.soft(captures[i]).toMatchSnapshot(image); | ^ 44 | } 45 | }); 46 | }); at /home/runner/work/ipywidgets/ipywidgets/ui-tests/tests/widgets.test.ts:43:32
Visual Regression
Process completed with exit code 1.
Documentation
Process completed with exit code 1.
Python (3.11)
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/.
Python (3.10)
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/.
Python (3.8)
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/.
Python (3.9)
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/.
Message Specification
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/.
JavaScript
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/.
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.8s)

Artifacts

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