Skip to content

Fix CI + remove Python 3.8 #2032

Fix CI + remove Python 3.8

Fix CI + remove Python 3.8 #2032

Triggered via pull request May 5, 2025 09:18
Status Failure
Total duration 6m 1s
Artifacts 3

tests.yml

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

Annotations

10 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: expect(Buffer).toMatchSnapshot(expected) 107 pixels (ratio 0.01 of all image pixels) are different. Expected: /home/runner/work/ipywidgets/ipywidgets/ui-tests/tests/widgets.test.ts-snapshots/widgets-cell-2-linux.png Received: /home/runner/work/ipywidgets/ipywidgets/ui-tests/test-results/tests-widgets-Widget-Visua-6a9b9-nb-and-capture-cell-outputs/widgets-cell-2-actual.png Diff: /home/runner/work/ipywidgets/ipywidgets/ui-tests/test-results/tests-widgets-Widget-Visua-6a9b9-nb-and-capture-cell-outputs/widgets-cell-2-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: expect(Buffer).toMatchSnapshot(expected) 443 pixels (ratio 0.03 of all image pixels) are different. Expected: /home/runner/work/ipywidgets/ipywidgets/ui-tests/tests/widgets.test.ts-snapshots/widgets-cell-10-linux.png Received: /home/runner/work/ipywidgets/ipywidgets/ui-tests/test-results/tests-widgets-Widget-Visua-6a9b9-nb-and-capture-cell-outputs/widgets-cell-10-actual.png Diff: /home/runner/work/ipywidgets/ipywidgets/ui-tests/test-results/tests-widgets-Widget-Visua-6a9b9-nb-and-capture-cell-outputs/widgets-cell-10-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: expect(Buffer).toMatchSnapshot(expected) 90 pixels (ratio 0.01 of all image pixels) are different. Expected: /home/runner/work/ipywidgets/ipywidgets/ui-tests/tests/widgets.test.ts-snapshots/widgets-cell-11-linux.png Received: /home/runner/work/ipywidgets/ipywidgets/ui-tests/test-results/tests-widgets-Widget-Visua-6a9b9-nb-and-capture-cell-outputs/widgets-cell-11-actual.png Diff: /home/runner/work/ipywidgets/ipywidgets/ui-tests/test-results/tests-widgets-Widget-Visua-6a9b9-nb-and-capture-cell-outputs/widgets-cell-11-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: expect(Buffer).toMatchSnapshot(expected) 196 pixels (ratio 0.01 of all image pixels) are different. Expected: /home/runner/work/ipywidgets/ipywidgets/ui-tests/tests/widgets.test.ts-snapshots/widgets-cell-13-linux.png Received: /home/runner/work/ipywidgets/ipywidgets/ui-tests/test-results/tests-widgets-Widget-Visua-6a9b9-nb-and-capture-cell-outputs/widgets-cell-13-actual.png Diff: /home/runner/work/ipywidgets/ipywidgets/ui-tests/test-results/tests-widgets-Widget-Visua-6a9b9-nb-and-capture-cell-outputs/widgets-cell-13-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: expect(Buffer).toMatchSnapshot(expected) 2 pixels (ratio 0.01 of all image pixels) are different. Expected: /home/runner/work/ipywidgets/ipywidgets/ui-tests/tests/widgets.test.ts-snapshots/widgets-cell-15-linux.png Received: /home/runner/work/ipywidgets/ipywidgets/ui-tests/test-results/tests-widgets-Widget-Visua-6a9b9-nb-and-capture-cell-outputs/widgets-cell-15-actual.png Diff: /home/runner/work/ipywidgets/ipywidgets/ui-tests/test-results/tests-widgets-Widget-Visua-6a9b9-nb-and-capture-cell-outputs/widgets-cell-15-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: expect(Buffer).toMatchSnapshot(expected) 35 pixels (ratio 0.01 of all image pixels) are different. Expected: /home/runner/work/ipywidgets/ipywidgets/ui-tests/tests/widgets.test.ts-snapshots/widgets-cell-16-linux.png Received: /home/runner/work/ipywidgets/ipywidgets/ui-tests/test-results/tests-widgets-Widget-Visua-6a9b9-nb-and-capture-cell-outputs/widgets-cell-16-actual.png Diff: /home/runner/work/ipywidgets/ipywidgets/ui-tests/test-results/tests-widgets-Widget-Visua-6a9b9-nb-and-capture-cell-outputs/widgets-cell-16-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: expect(Buffer).toMatchSnapshot(expected) Expected an image 656px by 91px, received 656px by 99px. 1312 pixels (ratio 0.03 of all image pixels) are different. Expected: /home/runner/work/ipywidgets/ipywidgets/ui-tests/tests/widgets.test.ts-snapshots/widgets-cell-17-linux.png Received: /home/runner/work/ipywidgets/ipywidgets/ui-tests/test-results/tests-widgets-Widget-Visua-6a9b9-nb-and-capture-cell-outputs/widgets-cell-17-actual.png Diff: /home/runner/work/ipywidgets/ipywidgets/ui-tests/test-results/tests-widgets-Widget-Visua-6a9b9-nb-and-capture-cell-outputs/widgets-cell-17-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: expect(Buffer).toMatchSnapshot(expected) 64 pixels (ratio 0.01 of all image pixels) are different. Expected: /home/runner/work/ipywidgets/ipywidgets/ui-tests/tests/widgets.test.ts-snapshots/widgets-cell-18-linux.png Received: /home/runner/work/ipywidgets/ipywidgets/ui-tests/test-results/tests-widgets-Widget-Visua-6a9b9-nb-and-capture-cell-outputs/widgets-cell-18-actual.png Diff: /home/runner/work/ipywidgets/ipywidgets/ui-tests/test-results/tests-widgets-Widget-Visua-6a9b9-nb-and-capture-cell-outputs/widgets-cell-18-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: expect(Buffer).toMatchSnapshot(expected) 274 pixels (ratio 0.02 of all image pixels) are different. Expected: /home/runner/work/ipywidgets/ipywidgets/ui-tests/tests/widgets.test.ts-snapshots/widgets-cell-21-linux.png Received: /home/runner/work/ipywidgets/ipywidgets/ui-tests/test-results/tests-widgets-Widget-Visua-6a9b9-nb-and-capture-cell-outputs/widgets-cell-21-actual.png Diff: /home/runner/work/ipywidgets/ipywidgets/ui-tests/test-results/tests-widgets-Widget-Visua-6a9b9-nb-and-capture-cell-outputs/widgets-cell-21-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: expect(Buffer).toMatchSnapshot(expected) 310 pixels (ratio 0.01 of all image pixels) are different. Expected: /home/runner/work/ipywidgets/ipywidgets/ui-tests/tests/widgets.test.ts-snapshots/widgets-cell-23-linux.png Received: /home/runner/work/ipywidgets/ipywidgets/ui-tests/test-results/tests-widgets-Widget-Visua-6a9b9-nb-and-capture-cell-outputs/widgets-cell-23-actual.png Diff: /home/runner/work/ipywidgets/ipywidgets/ui-tests/test-results/tests-widgets-Widget-Visua-6a9b9-nb-and-capture-cell-outputs/widgets-cell-23-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
🎭 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.0s)

Artifacts

Produced during runtime
Name Size Digest
ipywidgets-test-assets
22.2 MB
sha256:2b0e12c8c71816a2469492b830e3175071063564b377d09ef7d3af3d3fbfc5a6
ipywidgets-test-report
22.6 MB
sha256:984d0797d2b8ac0621c14e569edd1e15c09850154bfde72649bdceaae365c45e
ipywidgets-updated-snapshots
165 KB
sha256:28f8f86c378d3681aedec43094ac6017f99c4cdb0724a38ea5217ef7c52b78ed