Skip to content

chore(deps): Upgrade antd from ^5.22.5 to ^5.23.1 and update test snapshots #660

chore(deps): Upgrade antd from ^5.22.5 to ^5.23.1 and update test snapshots

chore(deps): Upgrade antd from ^5.22.5 to ^5.23.1 and update test snapshots #660

Triggered via pull request January 15, 2025 10:16
Status Failure
Total duration 3m 0s
Artifacts

test.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 1 warning
src/config-provider/__tests__/form.test.tsx > ConfigProvider form > ConfigProvider form.requiredMark should be `optional` by default and work for ProForm: packages/design/src/config-provider/__tests__/form.test.tsx#L34
Error: Snapshot `ConfigProvider form > ConfigProvider form.requiredMark should be `optional` by default and work for ProForm 1` mismatched - Expected + Received @@ -43,14 +43,13 @@ value="" /> <span class="ant-input-suffix" > - <span + <button class="ant-input-clear-icon ant-input-clear-icon-hidden" - role="button" + type="button" - tabindex="-1" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" @@ -68,11 +67,11 @@ <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> - </span> + </button> </span> </span> </div> </div> </div> @@ -121,14 +120,13 @@ value="" /> <span class="ant-input-suffix" > - <span + <button class="ant-input-clear-icon ant-input-clear-icon-hidden" - role="button" + type="button" - tabindex="-1" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" @@ -146,11 +144,11 @@ <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> - </span> + </button> </span> </span> </div> </div> </div> ❯ src/config-provider/__tests__/form.test.tsx:34:37
src/segmented/__tests__/index.test.tsx > Segmented > render options: packages/design/src/segmented/__tests__/index.test.tsx#L10
Error: Snapshot `Segmented > render options 1` mismatched - Expected + Received @@ -1,89 +1,90 @@ <div aria-label="segmented control" class="ant-segmented" - role="listbox" + role="radiogroup" + tabindex="0" > <div class="ant-segmented-group" > <label class="ant-segmented-item ant-segmented-item-selected" > <input checked="" class="ant-segmented-item-input" + name="test-id" type="radio" /> <div aria-selected="true" class="ant-segmented-item-label" - role="option" title="Daily" > Daily </div> </label> <label class="ant-segmented-item" > <input class="ant-segmented-item-input" + name="test-id" type="radio" /> <div aria-selected="false" class="ant-segmented-item-label" - role="option" title="Weekly" > Weekly </div> </label> <label class="ant-segmented-item" > <input class="ant-segmented-item-input" + name="test-id" type="radio" /> <div aria-selected="false" class="ant-segmented-item-label" - role="option" title="Monthly" > Monthly </div> </label> <label class="ant-segmented-item" > <input class="ant-segmented-item-input" + name="test-id" type="radio" /> <div aria-selected="false" class="ant-segmented-item-label" - role="option" title="Quarterly" > Quarterly </div> </label> <label class="ant-segmented-item" > <input class="ant-segmented-item-input" + name="test-id" type="radio" /> <div aria-selected="false" class="ant-segmented-item-label" - role="option" title="Yearly" > Yearly </div> </label> ❯ src/segmented/__tests__/index.test.tsx:10:37
src/segmented/__tests__/index.test.tsx > Segmented > render options with ellipsis: packages/design/src/segmented/__tests__/index.test.tsx#L30
Error: Snapshot `Segmented > render options with ellipsis 1` mismatched - Expected + Received @@ -1,57 +1,58 @@ <div aria-label="segmented control" class="ant-segmented ant-segmented-block" - role="listbox" + role="radiogroup" + tabindex="0" > <div class="ant-segmented-group" > <label class="ant-segmented-item ant-segmented-item-selected" > <input checked="" class="ant-segmented-item-input" + name="test-id" type="radio" /> <div aria-selected="true" class="ant-segmented-item-label" - role="option" title="123" > 123 </div> </label> <label class="ant-segmented-item" > <input class="ant-segmented-item-input" + name="test-id" type="radio" /> <div aria-selected="false" class="ant-segmented-item-label" - role="option" title="456" > 456 </div> </label> <label class="ant-segmented-item" > <input class="ant-segmented-item-input" + name="test-id" type="radio" /> <div aria-selected="false" class="ant-segmented-item-label" - role="option" > <span class="ant-typography ant-typography-ellipsis ant-typography-ellipsis-single-line" > longtext ❯ src/segmented/__tests__/index.test.tsx:30:37
src/PageContainer/__tests__/index.test.tsx > PageContainer > extra and footer: packages/ui/src/PageContainer/__tests__/index.test.tsx#L15
Error: Snapshot `PageContainer > extra and footer 1` mismatched - Expected + Received @@ -275,20 +275,19 @@ class="ant-input-affix-wrapper ant-input-outlined" > <input class="ant-input" placeholder="placeholder" - type="text" + type="search" value="" /> <span class="ant-input-suffix" > - <span + <button class="ant-input-clear-icon ant-input-clear-icon-hidden" - role="button" - tabindex="-1" + type="button" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" @@ -306,11 +305,11 @@ <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> - </span> + </button> </span> </span> <span class="ant-input-group-addon" > @@ -454,10 +453,11 @@ <span class="ant-radio-button" > <input class="ant-radio-button-input" + name="test-id" type="radio" value="input" /> <span class="ant-radio-button-inner" @@ -474,10 +474,11 @@ class="ant-radio-button ant-radio-button-checked" > <input checked="" class="ant-radio-button-input" + name="test-id" type="radio" value="search" /> <span class="ant-radio-button-inner" @@ -493,10 +494,11 @@ <span class="ant-radio-button" > <input class="ant-radio-button-input" + name="test-id" type="radio" value="addon" /> <span class="ant-radio-button-inner" ❯ src/PageContainer/__tests__/index.test.tsx:15:37
src/ProTable/__tests__/index.test.tsx > ProTable > render: packages/ui/src/ProTable/__tests__/index.test.tsx#L51
Error: Snapshot `ProTable > render 1` mismatched - Expected + Received @@ -61,14 +61,13 @@ value="" /> <span class="ant-input-suffix" > - <span + <button class="ant-input-clear-icon ant-input-clear-icon-hidden" - role="button" - tabindex="-1" + type="button" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" @@ -86,11 +85,11 @@ <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> - </span> + </button> </span> </span> </div> </div> </div> @@ -142,14 +141,13 @@ value="" /> <span class="ant-input-suffix" > - <span + <button class="ant-input-clear-icon ant-input-clear-icon-hidden" - role="button" - tabindex="-1" + type="button" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" @@ -167,11 +165,11 @@ <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> - </span> + </button> </span> </span> </div> </div> </div> @@ -219,14 +217,13 @@ value="" /> <span class="ant-input-suffix" > - <span + <button class="ant-input-clear-icon ant-input-clear-icon-hidden" - role="button" - tabindex="-1" +
src/ProTable/__tests__/index.test.tsx > ProTable > default pagination should work: packages/ui/src/ProTable/__tests__/index.test.tsx#L65
Error: Snapshot `ProTable > default pagination should work 1` mismatched - Expected + Received @@ -61,14 +61,13 @@ value="" /> <span class="ant-input-suffix" > - <span + <button class="ant-input-clear-icon ant-input-clear-icon-hidden" - role="button" - tabindex="-1" + type="button" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" @@ -86,11 +85,11 @@ <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> - </span> + </button> </span> </span> </div> </div> </div> @@ -142,14 +141,13 @@ value="" /> <span class="ant-input-suffix" > - <span + <button class="ant-input-clear-icon ant-input-clear-icon-hidden" - role="button" - tabindex="-1" + type="button" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" @@ -167,11 +165,11 @@ <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> - </span> + </button> </span> </span> </div> </div> </div> @@ -219,14 +217,13 @@ value="" /> <span class="ant-input-suffix" > - <span + <button class="ant-input-clear-icon ant-input-clear-icon-hidden" - role="button" -
src/ProTable/__tests__/index.test.tsx > ProTable > ConfigProvider pagination should work: packages/ui/src/ProTable/__tests__/index.test.tsx#L83
Error: Snapshot `ProTable > ConfigProvider pagination should work 1` mismatched - Expected + Received @@ -61,14 +61,13 @@ value="" /> <span class="ant-input-suffix" > - <span + <button class="ant-input-clear-icon ant-input-clear-icon-hidden" - role="button" - tabindex="-1" + type="button" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" @@ -86,11 +85,11 @@ <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> - </span> + </button> </span> </span> </div> </div> </div> @@ -142,14 +141,13 @@ value="" /> <span class="ant-input-suffix" > - <span + <button class="ant-input-clear-icon ant-input-clear-icon-hidden" - role="button" - tabindex="-1" + type="button" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" @@ -167,11 +165,11 @@ <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> - </span> + </button> </span> </span> </div> </div> </div> @@ -219,14 +217,13 @@ value="" /> <span class="ant-input-suffix" > - <span + <button class="ant-input-clear-icon ant-input-clear-icon-hidden" - role="button" -
test (16.x, ubuntu-latest)
Process completed with exit code 1.
test (16.x, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636