Skip to content

feat: Add option for line-wrapping to prevent horizontal scrolling #146

feat: Add option for line-wrapping to prevent horizontal scrolling

feat: Add option for line-wrapping to prevent horizontal scrolling #146

Triggered via pull request December 2, 2024 23:54
Status Failure
Total duration 1m 9s
Artifacts 1

visual-regression.yml

on: pull_request
Run Tests
57s
Run Tests
Update Snapshots
0s
Update Snapshots
Fit to window
Zoom out
Zoom in

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 17.303997194950913% different from snapshot (197404 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 12.433993688639552% different from snapshot (141847 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 1.2442145862552596% different from snapshot (14194 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 4.019635343618513% different from snapshot (45856 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: New snapshot was not written. The update flag must be explicitly passed to write a new snapshot. + This is likely because this test is run in a continuous integration (CI) environment in which snapshots are not written by default. ❯ 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 (1600x1487), but was different (1600x1531). 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
908 KB