chore: Replaces the test utils script with centralized one #183
visual-regression.yml
on: pull_request
Run Tests
59s
Update Snapshots
0s
Annotations
4 errors and 1 warning
test/visual/index.test.ts > matches snapshot for /#/avatar/permutations:
test/visual/index.test.ts#L21
Error: Expected image to match or be a close match to snapshot but was 0.09063814866760168% different from snapshot (1034 differing pixels).
See diff for details: /home/runner/work/chat-components/chat-components/__image_snapshots__/__diff_output__/index-test-ts-test-visual-index-test-ts-matches-snapshot-for-avatar-permutations-1-snap-diff.png
❯ test/visual/index.test.ts:21:25
❯ test/utils.ts:23:5
❯ node_modules/@cloudscape-design/browser-test-tools/use-browser.js:36:13
|
test/visual/index.test.ts > matches snapshot for /#/chat-bubble/simple:
test/visual/index.test.ts#L21
Error: Expected image to be the same size as the snapshot (1600x831), but was different (1585x831).
See diff for details: /home/runner/work/chat-components/chat-components/__image_snapshots__/__diff_output__/index-test-ts-test-visual-index-test-ts-matches-snapshot-for-chat-bubble-simple-1-snap-diff.png
❯ test/visual/index.test.ts:21:25
❯ test/utils.ts:23:5
❯ node_modules/@cloudscape-design/browser-test-tools/use-browser.js:36:13
|
test/visual/index.test.ts > matches snapshot for /#/loading-bar/simple:
test/visual/index.test.ts#L21
Error: Expected image to match or be a close match to snapshot but was 0.17654277699859747% different from snapshot (2014 differing pixels).
See diff for details: /home/runner/work/chat-components/chat-components/__image_snapshots__/__diff_output__/index-test-ts-test-visual-index-test-ts-matches-snapshot-for-loading-bar-simple-1-snap-diff.png
❯ test/visual/index.test.ts:21:25
❯ test/utils.ts:23:5
❯ node_modules/@cloudscape-design/browser-test-tools/use-browser.js:36:13
|
Run Tests
Process completed with exit code 1.
|
Run Tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
visual-regression-snapshots-results
|
600 KB |
|