Skip to content

Update comments in demo notebooks #304

Update comments in demo notebooks

Update comments in demo notebooks #304

Triggered via pull request November 12, 2024 15:48
Status Failure
Total duration 5m 50s
Billable time 6m
Artifacts 2

ui_notebooks_test.yaml

on: pull_request
verify-3_widget_example
5m 40s
verify-3_widget_example
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 1 notice
tests/widget_notebook_example.test.ts:28:7 › Visual Regression › Run notebook: ui-tests/tests/widget_notebook_example.test.ts#L63
1) tests/widget_notebook_example.test.ts:28:7 › Visual Regression › Run notebook, capture cell outputs, and test widgets Error: Screenshot comparison failed: 1691 pixels (ratio 0.02 of all image pixels) are different. Expected: /home/runner/work/codeflare-sdk/codeflare-sdk/ui-tests/tests/widget_notebook_example.test.ts-snapshots/widgets-cell-0-linux.png Received: /home/runner/work/codeflare-sdk/codeflare-sdk/ui-tests/test-results/tests-widget_notebook_exam-c3288-ll-outputs-and-test-widgets/widgets-cell-0-actual.png Diff: /home/runner/work/codeflare-sdk/codeflare-sdk/ui-tests/test-results/tests-widget_notebook_exam-c3288-ll-outputs-and-test-widgets/widgets-cell-0-diff.png 61 | 62 | if (captures[i]) { > 63 | expect.soft(captures[i]).toMatchSnapshot(image, { threshold: 0.7}); // Compare pre-existing capture | ^ 64 | continue; 65 | } 66 | } at /home/runner/work/codeflare-sdk/codeflare-sdk/ui-tests/tests/widget_notebook_example.test.ts:63:34
tests/widget_notebook_example.test.ts:28:7 › Visual Regression › Run notebook: ui-tests/tests/widget_notebook_example.test.ts#L63
1) tests/widget_notebook_example.test.ts:28:7 › Visual Regression › Run notebook, capture cell outputs, and test widgets Error: Screenshot comparison failed: Expected an image 844px by 231px, received 844px by 232px. 4635 pixels (ratio 0.03 of all image pixels) are different. Expected: /home/runner/work/codeflare-sdk/codeflare-sdk/ui-tests/tests/widget_notebook_example.test.ts-snapshots/widgets-cell-2-linux.png Received: /home/runner/work/codeflare-sdk/codeflare-sdk/ui-tests/test-results/tests-widget_notebook_exam-c3288-ll-outputs-and-test-widgets/widgets-cell-2-actual.png Diff: /home/runner/work/codeflare-sdk/codeflare-sdk/ui-tests/test-results/tests-widget_notebook_exam-c3288-ll-outputs-and-test-widgets/widgets-cell-2-diff.png 61 | 62 | if (captures[i]) { > 63 | expect.soft(captures[i]).toMatchSnapshot(image, { threshold: 0.7}); // Compare pre-existing capture | ^ 64 | continue; 65 | } 66 | } at /home/runner/work/codeflare-sdk/codeflare-sdk/ui-tests/tests/widget_notebook_example.test.ts:63:34
tests/widget_notebook_example.test.ts:28:7 › Visual Regression › Run notebook: ui-tests/tests/widget_notebook_example.test.ts#L63
1) tests/widget_notebook_example.test.ts:28:7 › Visual Regression › Run notebook, capture cell outputs, and test widgets Error: Screenshot comparison failed: 103 pixels (ratio 0.01 of all image pixels) are different. Expected: /home/runner/work/codeflare-sdk/codeflare-sdk/ui-tests/tests/widget_notebook_example.test.ts-snapshots/widgets-cell-3-linux.png Received: /home/runner/work/codeflare-sdk/codeflare-sdk/ui-tests/test-results/tests-widget_notebook_exam-c3288-ll-outputs-and-test-widgets/widgets-cell-3-actual.png Diff: /home/runner/work/codeflare-sdk/codeflare-sdk/ui-tests/test-results/tests-widget_notebook_exam-c3288-ll-outputs-and-test-widgets/widgets-cell-3-diff.png 61 | 62 | if (captures[i]) { > 63 | expect.soft(captures[i]).toMatchSnapshot(image, { threshold: 0.7}); // Compare pre-existing capture | ^ 64 | continue; 65 | } 66 | } at /home/runner/work/codeflare-sdk/codeflare-sdk/ui-tests/tests/widget_notebook_example.test.ts:63:34
tests/widget_notebook_example.test.ts:28:7 › Visual Regression › Run notebook: ui-tests/tests/widget_notebook_example.test.ts#L63
1) tests/widget_notebook_example.test.ts:28:7 › Visual Regression › Run notebook, capture cell outputs, and test widgets Error: Screenshot comparison failed: 132 pixels (ratio 0.01 of all image pixels) are different. Expected: /home/runner/work/codeflare-sdk/codeflare-sdk/ui-tests/tests/widget_notebook_example.test.ts-snapshots/widgets-cell-4-linux.png Received: /home/runner/work/codeflare-sdk/codeflare-sdk/ui-tests/test-results/tests-widget_notebook_exam-c3288-ll-outputs-and-test-widgets/widgets-cell-4-actual.png Diff: /home/runner/work/codeflare-sdk/codeflare-sdk/ui-tests/test-results/tests-widget_notebook_exam-c3288-ll-outputs-and-test-widgets/widgets-cell-4-diff.png 61 | 62 | if (captures[i]) { > 63 | expect.soft(captures[i]).toMatchSnapshot(image, { threshold: 0.7}); // Compare pre-existing capture | ^ 64 | continue; 65 | } 66 | } at /home/runner/work/codeflare-sdk/codeflare-sdk/ui-tests/tests/widget_notebook_example.test.ts:63:34
tests/widget_notebook_example.test.ts:28:7 › Visual Regression › Run notebook: ui-tests/tests/widget_notebook_example.test.ts#L63
1) tests/widget_notebook_example.test.ts:28:7 › Visual Regression › Run notebook, capture cell outputs, and test widgets Error: Screenshot comparison failed: Expected an image 908px by 91px, received 908px by 85px. 3612 pixels (ratio 0.05 of all image pixels) are different. Expected: /home/runner/work/codeflare-sdk/codeflare-sdk/ui-tests/tests/widget_notebook_example.test.ts-snapshots/widgets-cell-5-linux.png Received: /home/runner/work/codeflare-sdk/codeflare-sdk/ui-tests/test-results/tests-widget_notebook_exam-c3288-ll-outputs-and-test-widgets/widgets-cell-5-actual.png Diff: /home/runner/work/codeflare-sdk/codeflare-sdk/ui-tests/test-results/tests-widget_notebook_exam-c3288-ll-outputs-and-test-widgets/widgets-cell-5-diff.png 61 | 62 | if (captures[i]) { > 63 | expect.soft(captures[i]).toMatchSnapshot(image, { threshold: 0.7}); // Compare pre-existing capture | ^ 64 | continue; 65 | } 66 | } at /home/runner/work/codeflare-sdk/codeflare-sdk/ui-tests/tests/widget_notebook_example.test.ts:63:34
tests/widget_notebook_example.test.ts:28:7 › Visual Regression › Run notebook: ui-tests/tests/widget_notebook_example.test.ts#L176
1) tests/widget_notebook_example.test.ts:28:7 › Visual Regression › Run notebook, capture cell outputs, and test widgets TimeoutError: elementHandle.waitForSelector: Timeout 5000ms exceeded. Call log: - waiting for locator('input[type="checkbox"]') to be visible 174 | 175 | if (widgetCell) { > 176 | await widgetCell.waitForSelector(widgetSelector, { timeout }); | ^ 177 | } 178 | } 179 | at waitForWidget (/home/runner/work/codeflare-sdk/codeflare-sdk/ui-tests/tests/widget_notebook_example.test.ts:176:22) at /home/runner/work/codeflare-sdk/codeflare-sdk/ui-tests/tests/widget_notebook_example.test.ts:72:5
verify-3_widget_example
Process completed with exit code 1.
🎭 Playwright Run Summary
1 failed tests/widget_notebook_example.test.ts:28:7 › Visual Regression › Run notebook, capture cell outputs, and test widgets

Artifacts

Produced during runtime
Name Size
ipywidgets-test-assets
1.06 MB
ipywidgets-test-report
1.26 MB