tests: add visual tests framework #18
Annotations
2 errors, 1 warning, and 1 notice
examples.spec.js:10:5 › 1-Getting-Started:
js/ui-tests/examples.spec.js#L32
1) examples.spec.js:10:5 › 1-Getting-Started ─────────────────────────────────────────────────────
Error: Screenshot comparison failed:
282315 pixels (ratio 0.36 of all image pixels) are different.
Expected: /home/runner/work/ipyaladin/ipyaladin/js/ui-tests/examples.spec.js-snapshots/1-Getting-Started-1-linux.png
Received: /home/runner/work/ipyaladin/ipyaladin/test-results/examples-1-Getting-Started/1-Getting-Started-1-actual.png
Diff: /home/runner/work/ipyaladin/ipyaladin/test-results/examples-1-Getting-Started/1-Getting-Started-1-diff.png
30 | await page.notebook.save();
31 | // And check snapshot (maybe we should clip to div jp-main-dock-panel)
> 32 | expect(await page.screenshot()).toMatchSnapshot();
| ^
33 | });
34 |
at /home/runner/work/ipyaladin/ipyaladin/js/ui-tests/examples.spec.js:32:35
|
test
Process completed with exit code 1.
|
test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: 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
examples.spec.js:10:5 › 1-Getting-Started ──────────────────────────────────────────────────────
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
playwright-report
Expired
|
959 KB |
|