Skip to content

Move _repr_mimebundle_ to DOMWidgets #2069

Move _repr_mimebundle_ to DOMWidgets

Move _repr_mimebundle_ to DOMWidgets #2069

Triggered via pull request December 19, 2025 09:31
Status Failure
Total duration 6m 7s
Artifacts 3

tests.yml

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

Annotations

17 errors and 2 notices
Python (3.11)
Process completed with exit code 1.
Python (3.10)
The strategy configuration was canceled because "python._3_11" failed
Python (3.10)
Process completed with exit code 1.
Python (3.9)
The strategy configuration was canceled because "python._3_11" failed
Python (3.9)
The operation was canceled.
Python (3.12)
The strategy configuration was canceled because "python._3_11" failed
Python (3.12)
The operation was canceled.
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) 42 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-24-linux.png Received: /home/runner/work/ipywidgets/ipywidgets/ui-tests/test-results/tests-widgets-Widget-Visua-6a9b9-nb-and-capture-cell-outputs/widgets-cell-24-actual.png Diff: /home/runner/work/ipywidgets/ipywidgets/ui-tests/test-results/tests-widgets-Widget-Visua-6a9b9-nb-and-capture-cell-outputs/widgets-cell-24-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) 326 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
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) 65 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) 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) 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) 201 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) 97 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) 446 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) 110 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
🎭 Playwright Run Summary
1 passed (26.4s)
🎭 Playwright Run Summary
1 failed tests/widgets.test.ts:19:7 › Widget Visual Regression › Run notebook widgets.ipynb and capture cell outputs

Artifacts

Produced during runtime
Name Size Digest
ipywidgets-test-assets
19.6 MB
sha256:b9fa584166de1c9fd1c562e4357794ca0504824a915bb45c827355d5ed73251d
ipywidgets-test-report
20 MB
sha256:80dc377e778680ae377a0dd6b18a10c42a2d869650f64973f004c1ede66db2d0
ipywidgets-updated-snapshots
164 KB
sha256:2ce022eb4cb5f91f22f45c24c949f37d29d9a2d419c180af04deabe0d29daf28