Skip to content

tests: add visual tests framework #15

tests: add visual tests framework

tests: add visual tests framework #15

Triggered via pull request May 2, 2024 14:01
Status Failure
Total duration 1m 47s
Artifacts 1

js-tests.yml

on: pull_request
Fit to window
Zoom out
Zoom in

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: 22201 pixels (ratio 0.03 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 > 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
776 KB