chore: Replaces the test utils script with centralized one #165
visual-regression.yml
on: pull_request
Run Tests
50s
Update Snapshots
0s
Annotations
7 errors and 2 warnings
test/visual/index.test.ts > matches snapshot for /#/code-view/simple:
test/visual/index.test.ts#L21
Error: Expected image to match or be a close match to snapshot but was 0.2196704067321178% different from snapshot (2506 differing pixels).
See diff for details: /home/runner/work/code-view/code-view/__image_snapshots__/__diff_output__/index-test-ts-test-visual-index-test-ts-matches-snapshot-for-code-view-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 /#/code-view/with-actions-button:
test/visual/index.test.ts#L21
Error: Expected image to match or be a close match to snapshot but was 1.1395511921458625% different from snapshot (13000 differing pixels).
See diff for details: /home/runner/work/code-view/code-view/__image_snapshots__/__diff_output__/index-test-ts-test-visual-index-test-ts-matches-snapshot-for-code-view-with-actions-button-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 /#/code-view/with-all-features:
test/visual/index.test.ts#L21
Error: Expected image to match or be a close match to snapshot but was 0.17619214586255258% different from snapshot (2010 differing pixels).
See diff for details: /home/runner/work/code-view/code-view/__image_snapshots__/__diff_output__/index-test-ts-test-visual-index-test-ts-matches-snapshot-for-code-view-with-all-features-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 /#/code-view/with-line-numbers:
test/visual/index.test.ts#L21
Error: Expected image to match or be a close match to snapshot but was 0.15550490883590462% different from snapshot (1774 differing pixels).
See diff for details: /home/runner/work/code-view/code-view/__image_snapshots__/__diff_output__/index-test-ts-test-visual-index-test-ts-matches-snapshot-for-code-view-with-line-numbers-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 /#/code-view/with-line-wrapping:
test/visual/index.test.ts#L21
Error: Expected image to be the same size as the snapshot (1600x1450), but was different (1585x1480).
See diff for details: /home/runner/work/code-view/code-view/__image_snapshots__/__diff_output__/index-test-ts-test-visual-index-test-ts-matches-snapshot-for-code-view-with-line-wrapping-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 /#/code-view/with-syntax-highlighting:
test/visual/index.test.ts#L21
Error: Expected image to be the same size as the snapshot (1600x1550), but was different (1585x1550).
See diff for details: /home/runner/work/code-view/code-view/__image_snapshots__/__diff_output__/index-test-ts-test-visual-index-test-ts-matches-snapshot-for-code-view-with-syntax-highlighting-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
|
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "visual-regression-snapshots-results".
Please update your workflow to use v4 of the artifact actions.
Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
visual-regression-snapshots-results
|
2.43 MB |
|