Add tests and github workflow #10
ci.yml
on: pull_request
Documentation
44s
Visual Regression
2m 8s
Matrix: Python
Annotations
5 errors, 6 warnings, and 2 notices
tests/widgets.test.ts:19:7 › Widget Visual Regression › Run notebook widgets.ipynb and capture cell outputs:
tests/notebooks/tests/widgets.test.ts#L45
1) tests/widgets.test.ts:19:7 › Widget Visual Regression › Run notebook widgets.ipynb and capture cell outputs
Error: A snapshot doesn't exist at /home/runner/work/weas-widget/weas-widget/tests/notebooks/tests/widgets.test.ts-snapshots/widgets-cell-0-linux.png, writing actual.
43 | for (let i = 0; i < cellCount; i++) {
44 | const image = `widgets-cell-${i}.png`;
> 45 | expect.soft(captures[i]).toMatchSnapshot(image);
| ^
46 | }
47 | });
48 | });
at /home/runner/work/weas-widget/weas-widget/tests/notebooks/tests/widgets.test.ts:45:32
|
tests/widgets.test.ts:19:7 › Widget Visual Regression › Run notebook widgets.ipynb and capture cell outputs:
tests/notebooks/tests/widgets.test.ts#L45
1) tests/widgets.test.ts:19:7 › Widget Visual Regression › Run notebook widgets.ipynb and capture cell outputs
Error: A snapshot doesn't exist at /home/runner/work/weas-widget/weas-widget/tests/notebooks/tests/widgets.test.ts-snapshots/widgets-cell-1-linux.png, writing actual.
43 | for (let i = 0; i < cellCount; i++) {
44 | const image = `widgets-cell-${i}.png`;
> 45 | expect.soft(captures[i]).toMatchSnapshot(image);
| ^
46 | }
47 | });
48 | });
at /home/runner/work/weas-widget/weas-widget/tests/notebooks/tests/widgets.test.ts:45:32
|
tests/widgets.test.ts:19:7 › Widget Visual Regression › Run notebook widgets.ipynb and capture cell outputs:
tests/notebooks/tests/widgets.test.ts#L45
1) tests/widgets.test.ts:19:7 › Widget Visual Regression › Run notebook widgets.ipynb and capture cell outputs
Error: A snapshot doesn't exist at /home/runner/work/weas-widget/weas-widget/tests/notebooks/tests/widgets.test.ts-snapshots/widgets-cell-2-linux.png, writing actual.
43 | for (let i = 0; i < cellCount; i++) {
44 | const image = `widgets-cell-${i}.png`;
> 45 | expect.soft(captures[i]).toMatchSnapshot(image);
| ^
46 | }
47 | });
48 | });
at /home/runner/work/weas-widget/weas-widget/tests/notebooks/tests/widgets.test.ts:45:32
|
tests/widgets.test.ts:19:7 › Widget Visual Regression › Run notebook widgets.ipynb and capture cell outputs:
tests/notebooks/tests/widgets.test.ts#L45
1) tests/widgets.test.ts:19:7 › Widget Visual Regression › Run notebook widgets.ipynb and capture cell outputs
Error: A snapshot doesn't exist at /home/runner/work/weas-widget/weas-widget/tests/notebooks/tests/widgets.test.ts-snapshots/widgets-cell-3-linux.png, writing actual.
43 | for (let i = 0; i < cellCount; i++) {
44 | const image = `widgets-cell-${i}.png`;
> 45 | expect.soft(captures[i]).toMatchSnapshot(image);
| ^
46 | }
47 | });
48 | });
at /home/runner/work/weas-widget/weas-widget/tests/notebooks/tests/widgets.test.ts:45:32
|
Visual Regression
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.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/.
|
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/.
|
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/.
|
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/.
|
🎭 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 (25.9s)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
test-assets
Expired
|
947 KB |
|
test-report
Expired
|
1.35 MB |
|
updated-snapshots
Expired
|
70.8 KB |
|