chore: Replaces the test utils script with centralized one #1038
visual-regression.yml
on: pull_request
Run Tests
1m 17s
Update Snapshots
0s
Annotations
10 errors and 2 warnings
test/visual/drag-states.test.ts > renders correctly styled focus ring around the drag handle:
test/visual/drag-states.test.ts#L85
Error: Expected image to be the same size as the snapshot (1600x2249), but was different (1585x2249).
See diff for details: /home/runner/work/board-components/board-components/__image_snapshots__/__diff_output__/drag-states-test-ts-test-visual-drag-states-test-ts-renders-correctly-styled-focus-ring-around-the-drag-handle-1-snap-diff.png
❯ test/visual/drag-states.test.ts:85:45
❯ test/utils.ts:23:5
❯ node_modules/@cloudscape-design/browser-test-tools/use-browser.js:36:13
|
test/visual/drag-states.test.ts > renders correctly styled focus ring around the resize handle:
test/visual/drag-states.test.ts#L93
Error: Expected image to be the same size as the snapshot (1600x2249), but was different (1585x2249).
See diff for details: /home/runner/work/board-components/board-components/__image_snapshots__/__diff_output__/drag-states-test-ts-test-visual-drag-states-test-ts-renders-correctly-styled-focus-ring-around-the-resize-handle-1-snap-diff.png
❯ test/visual/drag-states.test.ts:93:45
❯ test/utils.ts:23:5
❯ node_modules/@cloudscape-design/browser-test-tools/use-browser.js:36:13
|
test/visual/drag-states.test.ts > active item overlays other items:
test/visual/drag-states.test.ts#L103
Error: Expected image to be the same size as the snapshot (1600x2249), but was different (1585x2249).
See diff for details: /home/runner/work/board-components/board-components/__image_snapshots__/__diff_output__/drag-states-test-ts-test-visual-drag-states-test-ts-active-item-overlays-other-items-1-snap-diff.png
❯ test/visual/drag-states.test.ts:103:45
❯ test/utils.ts:23:5
❯ node_modules/@cloudscape-design/browser-test-tools/use-browser.js:36:13
|
test/visual/drag-states.test.ts > resizes 4x2 item down to 2x1 one step at a time:
test/visual/drag-states.test.ts#L126
Error: Expected image to match or be a close match to snapshot but was 0.4505610098176718% different from snapshot (5140 differing pixels).
See diff for details: /home/runner/work/board-components/board-components/__image_snapshots__/__diff_output__/drag-states-test-ts-test-visual-drag-states-test-ts-resizes-4-x-2-item-down-to-2-x-1-one-step-at-a-time-1-snap-diff.png
❯ test/visual/drag-states.test.ts:126:47
❯ test/utils.ts:23:5
❯ node_modules/@cloudscape-design/browser-test-tools/use-browser.js:36:13
|
test/visual/drag-states.test.ts > palette item size remains the same after drag start:
test/visual/drag-states.test.ts#L142
Error: Expected image to be the same size as the snapshot (1600x2148), but was different (1585x2148).
See diff for details: /home/runner/work/board-components/board-components/__image_snapshots__/__diff_output__/drag-states-test-ts-test-visual-drag-states-test-ts-palette-item-size-remains-the-same-after-drag-start-1-snap-diff.png
❯ test/visual/drag-states.test.ts:142:45
❯ test/utils.ts:23:5
❯ node_modules/@cloudscape-design/browser-test-tools/use-browser.js:36:13
|
test/visual/drag-states.test.ts > palette item size adjusts to board item size when moved over board:
test/visual/drag-states.test.ts#L157
Error: Expected image to be the same size as the snapshot (1600x2148), but was different (1585x2148).
See diff for details: /home/runner/work/board-components/board-components/__image_snapshots__/__diff_output__/drag-states-test-ts-test-visual-drag-states-test-ts-palette-item-size-adjusts-to-board-item-size-when-moved-over-board-1-snap-diff.png
❯ test/visual/drag-states.test.ts:157:45
❯ test/utils.ts:23:5
❯ node_modules/@cloudscape-design/browser-test-tools/use-browser.js:36:13
|
test/visual/drag-states.test.ts > palette item with min colspan=2 can be inserted into 1-column layout:
test/visual/drag-states.test.ts#L173
Error: Expected image to be the same size as the snapshot (800x4071), but was different (785x4071).
See diff for details: /home/runner/work/board-components/board-components/__image_snapshots__/__diff_output__/drag-states-test-ts-test-visual-drag-states-test-ts-palette-item-with-min-colspan-2-can-be-inserted-into-1-column-layout-1-snap-diff.png
❯ test/visual/drag-states.test.ts:173:45
❯ test/utils.ts:23:5
❯ node_modules/@cloudscape-design/browser-test-tools/use-browser.js:36:13
|
test/visual/drag-states.test.ts > split-panel prevents collisions when inserting an item from the palette at the bottom:
test/visual/drag-states.test.ts#L188
Error: Expected image to be the same size as the snapshot (600x3233), but was different (585x3233).
See diff for details: /home/runner/work/board-components/board-components/__image_snapshots__/__diff_output__/drag-states-test-ts-test-visual-drag-states-test-ts-split-panel-prevents-collisions-when-inserting-an-item-from-the-palette-at-the-bottom-1-snap-diff.png
❯ test/visual/drag-states.test.ts:188:45
❯ 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 /#/canvas/layouts:
test/visual/index.test.ts#L21
Error: Expected image to be the same size as the snapshot (1600x1046), but was different (1585x1046).
See diff for details: /home/runner/work/board-components/board-components/__image_snapshots__/__diff_output__/index-test-ts-test-visual-index-test-ts-matches-snapshot-for-canvas-layouts-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 /#/dnd/engine:
test/visual/index.test.ts#L21
Error: Expected image to be the same size as the snapshot (1600x1171), but was different (1585x1171).
See diff for details: /home/runner/work/board-components/board-components/__image_snapshots__/__diff_output__/index-test-ts-test-visual-index-test-ts-matches-snapshot-for-dnd-engine-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
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
|
6.35 MB |
|