Skip to content

Make the arrow and line element easier to grap #2374

Make the arrow and line element easier to grap

Make the arrow and line element easier to grap #2374

Triggered via pull request January 6, 2025 07:43
Status Failure
Total duration 6m 9s
Artifacts

ci.yml

on: pull_request
build-standalone
0s
build-standalone
Deploy to Dev
0s
Deploy to Dev
Deploy to GitHub Pages
0s
Deploy to GitHub Pages
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 1 warning
src/components/elements/line/Display.test.tsx > <Display /> > should render as expected: packages/react-sdk/src/components/elements/line/Display.test.tsx#L94
Error: Snapshot `<Display /> > should render as expected 1` mismatched - Expected + Received @@ -1,10 +1,19 @@ <g data-testid="element-element-0" > <line fill="none" + stroke="transparent" + stroke-width="14" + x1="0" + x2="2" + y1="2" + y2="4" + /> + <line + fill="none" stroke="#ffffff" stroke-width="4" x1="0" x2="2" y1="2" ❯ src/components/elements/line/Display.test.tsx:94:53
src/components/elements/line/Display.test.tsx > <Display /> > should render with an end marker as epxected: packages/react-sdk/src/components/elements/line/Display.test.tsx#L127
Error: Snapshot `<Display /> > should render with an end marker as epxected 1` mismatched - Expected + Received @@ -17,10 +17,19 @@ stroke="#ffffff" /> </marker> <line fill="none" + stroke="transparent" + stroke-width="14" + x1="0" + x2="2" + y1="2" + y2="4" + /> + <line + fill="none" marker-end="url(#end-marker-id-1)" stroke="#ffffff" stroke-width="4" x1="0" x2="2" ❯ src/components/elements/line/Display.test.tsx:127:53
build
Process completed with exit code 1.
build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636