Skip to content

improve(design): Typography editable and editing style #502

improve(design): Typography editable and editing style

improve(design): Typography editable and editing style #502

Triggered via pull request November 19, 2024 07:53
Status Failure
Total duration 3m 13s
Artifacts

test.yml

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

Annotations

10 errors and 1 warning
src/descriptions/__tests__/index.test.tsx > Descriptions > render for items: packages/design/src/descriptions/__tests__/index.test.tsx#L56
Error: Snapshot `Descriptions > render for items 1` mismatched - Expected + Received @@ -32,11 +32,11 @@ </span> <span class="ant-descriptions-item-content" > <span - class="ant-typography ant-typography-ellipsis ant-typography-ellipsis-single-line" + class="ant-typography ant-typography-ellipsis ant-typography-ellipsis-single-line ant-typography" > Zhou Maomao </span> </span> </div> @@ -55,11 +55,11 @@ </span> <span class="ant-descriptions-item-content" > <span - class="ant-typography ant-typography-ellipsis ant-typography-ellipsis-single-line" + class="ant-typography ant-typography-ellipsis ant-typography-ellipsis-single-line ant-typography" > 1810000000 </span> </span> </div> @@ -78,11 +78,11 @@ </span> <span class="ant-descriptions-item-content" > <span - class="ant-typography ant-typography-ellipsis ant-typography-ellipsis-single-line" + class="ant-typography ant-typography-ellipsis ant-typography-ellipsis-single-line ant-typography" > Hangzhou, Zhejiang </span> </span> </div> @@ -105,11 +105,11 @@ </span> <span class="ant-descriptions-item-content" > <span - class="ant-typography ant-typography-ellipsis ant-typography-ellipsis-single-line" + class="ant-typography ant-typography-ellipsis ant-typography-ellipsis-single-line ant-typography" > empty </span> </span> </div> @@ -128,11 +128,11 @@ </span> <span class="ant-descriptions-item-content" > <span - class="ant-typography ant-typography-ellipsis ant-typography-ellipsis-single-line" + class="ant-typography ant-typography-ellipsis ant-typography-ellipsis-single-line ant-typography" > No. 18, Wantang Road, Xihu District, Hangzhou, Zhejiang, China </span> </span> </div> ❯ src/descriptions/__tests__/index.test.tsx:56:37
src/descriptions/__tests__/index.test.tsx > Descriptions > render for Descriptions.Item: packages/design/src/descriptions/__tests__/index.test.tsx#L62
Error: Snapshot `Descriptions > render for Descriptions.Item 1` mismatched - Expected + Received @@ -32,11 +32,11 @@ </span> <span class="ant-descriptions-item-content" > <span - class="ant-typography ant-typography-ellipsis ant-typography-ellipsis-single-line" + class="ant-typography ant-typography-ellipsis ant-typography-ellipsis-single-line ant-typography" > Zhou Maomao </span> </span> </div> @@ -55,11 +55,11 @@ </span> <span class="ant-descriptions-item-content" > <span - class="ant-typography ant-typography-ellipsis ant-typography-ellipsis-single-line" + class="ant-typography ant-typography-ellipsis ant-typography-ellipsis-single-line ant-typography" > 1810000000 </span> </span> </div> @@ -78,11 +78,11 @@ </span> <span class="ant-descriptions-item-content" > <span - class="ant-typography ant-typography-ellipsis ant-typography-ellipsis-single-line" + class="ant-typography ant-typography-ellipsis ant-typography-ellipsis-single-line ant-typography" > Hangzhou, Zhejiang </span> </span> </div> @@ -105,11 +105,11 @@ </span> <span class="ant-descriptions-item-content" > <span - class="ant-typography ant-typography-ellipsis ant-typography-ellipsis-single-line" + class="ant-typography ant-typography-ellipsis ant-typography-ellipsis-single-line ant-typography" > empty </span> </span> </div> @@ -128,11 +128,11 @@ </span> <span class="ant-descriptions-item-content" > <span - class="ant-typography ant-typography-ellipsis ant-typography-ellipsis-single-line" + class="ant-typography ant-typography-ellipsis ant-typography-ellipsis-single-line ant-typography" > No. 18, Wantang Road, Xihu District, Hangzhou, Zhejiang, China </span> </span> </div> ❯ src/descriptions/__tests__/index.test.tsx:62:37
src/descriptions/__tests__/index.test.tsx > Descriptions > remove colon for vertical layout by default for items: packages/design/src/descriptions/__tests__/index.test.tsx#L68
Error: Snapshot `Descriptions > remove colon for vertical layout by default for items 1` mismatched - Expected + Received @@ -73,11 +73,11 @@ > <span class="ant-descriptions-item-content" > <span - class="ant-typography ant-typography-ellipsis ant-typography-ellipsis-single-line" + class="ant-typography ant-typography-ellipsis ant-typography-ellipsis-single-line ant-typography" > Zhou Maomao </span> </span> </div> @@ -91,11 +91,11 @@ > <span class="ant-descriptions-item-content" > <span - class="ant-typography ant-typography-ellipsis ant-typography-ellipsis-single-line" + class="ant-typography ant-typography-ellipsis ant-typography-ellipsis-single-line ant-typography" > 1810000000 </span> </span> </div> @@ -109,11 +109,11 @@ > <span class="ant-descriptions-item-content" > <span - class="ant-typography ant-typography-ellipsis ant-typography-ellipsis-single-line" + class="ant-typography ant-typography-ellipsis ant-typography-ellipsis-single-line ant-typography" > Hangzhou, Zhejiang </span> </span> </div> @@ -163,11 +163,11 @@ > <span class="ant-descriptions-item-content" > <span - class="ant-typography ant-typography-ellipsis ant-typography-ellipsis-single-line" + class="ant-typography ant-typography-ellipsis ant-typography-ellipsis-single-line ant-typography" > empty </span> </span> </div> @@ -181,11 +181,11 @@ > <span class="ant-descriptions-item-content" > <span - class="ant-typography ant-typography-ellipsis ant-typography-ellipsis-single-line" + class="ant-typography ant-typography-ellipsis ant-typography-ellipsis-single-line ant-typography" > No. 18, Wantang Road, Xihu District, Hangzhou, Zhejiang, China </span> </span> </div> ❯ src/descriptions/__tests__/index.test.tsx:68:37
src/descriptions/__tests__/index.test.tsx > Descriptions > remove colon for vertical layout by default for Descriptions.Item: packages/design/src/descriptions/__tests__/index.test.tsx#L74
Error: Snapshot `Descriptions > remove colon for vertical layout by default for Descriptions.Item 1` mismatched - Expected + Received @@ -73,11 +73,11 @@ > <span class="ant-descriptions-item-content" > <span - class="ant-typography ant-typography-ellipsis ant-typography-ellipsis-single-line" + class="ant-typography ant-typography-ellipsis ant-typography-ellipsis-single-line ant-typography" > Zhou Maomao </span> </span> </div> @@ -91,11 +91,11 @@ > <span class="ant-descriptions-item-content" > <span - class="ant-typography ant-typography-ellipsis ant-typography-ellipsis-single-line" + class="ant-typography ant-typography-ellipsis ant-typography-ellipsis-single-line ant-typography" > 1810000000 </span> </span> </div> @@ -109,11 +109,11 @@ > <span class="ant-descriptions-item-content" > <span - class="ant-typography ant-typography-ellipsis ant-typography-ellipsis-single-line" + class="ant-typography ant-typography-ellipsis ant-typography-ellipsis-single-line ant-typography" > Hangzhou, Zhejiang </span> </span> </div> @@ -163,11 +163,11 @@ > <span class="ant-descriptions-item-content" > <span - class="ant-typography ant-typography-ellipsis ant-typography-ellipsis-single-line" + class="ant-typography ant-typography-ellipsis ant-typography-ellipsis-single-line ant-typography" > empty </span> </span> </div> @@ -181,11 +181,11 @@ > <span class="ant-descriptions-item-content" > <span - class="ant-typography ant-typography-ellipsis ant-typography-ellipsis-single-line" + class="ant-typography ant-typography-ellipsis ant-typography-ellipsis-single-line ant-typography" > No. 18, Wantang Road, Xihu District, Hangzhou, Zhejiang, China </span> </span> </div> ❯ src/descriptions/__tests__/index.test.tsx:74:37
src/descriptions/__tests__/index.test.tsx > Descriptions > contentProps should work for items: packages/design/src/descriptions/__tests__/index.test.tsx#L91
Error: Snapshot `Descriptions > contentProps should work for items 1` mismatched - Expected + Received @@ -32,11 +32,11 @@ </span> <span class="ant-descriptions-item-content" > <span - class="ant-typography ant-typography-ellipsis ant-typography-ellipsis-single-line" + class="ant-typography ant-typography-ellipsis ant-typography-ellipsis-single-line ant-typography" > This is long long long long long long long long long long long Link </span> </span> </div> ❯ src/descriptions/__tests__/index.test.tsx:91:37
src/descriptions/__tests__/index.test.tsx > Descriptions > contentProps should work for Descriptions.Item: packages/design/src/descriptions/__tests__/index.test.tsx#L103
Error: Snapshot `Descriptions > contentProps should work for Descriptions.Item 1` mismatched - Expected + Received @@ -32,11 +32,11 @@ </span> <span class="ant-descriptions-item-content" > <span - class="ant-typography ant-typography-ellipsis ant-typography-ellipsis-single-line" + class="ant-typography ant-typography-ellipsis ant-typography-ellipsis-single-line ant-typography" > This is long long long long long long long long long long long Link </span> </span> </div> ❯ src/descriptions/__tests__/index.test.tsx:103: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 @@ -50,11 +50,11 @@ aria-selected="false" class="ant-segmented-item-label" role="option" > <span - class="ant-typography ant-typography-ellipsis ant-typography-ellipsis-single-line" + class="ant-typography ant-typography-ellipsis ant-typography-ellipsis-single-line ant-typography" > longtext </span> </div> </label> ❯ src/segmented/__tests__/index.test.tsx:30:37
src/tag/__tests__/index.test.tsx > Tag > default ellipsis: packages/design/src/tag/__tests__/index.test.tsx#L32
Error: Snapshot `Tag > default ellipsis 1` mismatched - Expected + Received @@ -1,10 +1,10 @@ <span class="ant-tag ant-tag-ellipsis" > <span - class="ant-typography ant-typography-ellipsis ant-typography-ellipsis-single-line" + class="ant-typography ant-typography-ellipsis ant-typography-ellipsis-single-line ant-typography" > <div id="test" > Show ellipsis for excess.Show ellipsis for excess.Show ellipsis for excess.Show ellipsis for excess.Show ellipsis for excess.Show ellipsis for excess.Show ellipsis for excess.Show ellipsis for excess.Show ellipsis for excess.Show ellipsis for excess.Show ellipsis for excess.Show ellipsis for excess.Show ellipsis for excess.Show ellipsis for excess. ❯ src/tag/__tests__/index.test.tsx:32:37
src/tag/__tests__/index.test.tsx > Tag > custom ellipsis: packages/design/src/tag/__tests__/index.test.tsx#L48
Error: Snapshot `Tag > custom ellipsis 1` mismatched - Expected + Received @@ -1,10 +1,10 @@ <span class="ant-tag ant-tag-ellipsis" > <span - class="ant-typography ant-typography-ellipsis ant-typography-ellipsis-single-line" + class="ant-typography ant-typography-ellipsis ant-typography-ellipsis-single-line ant-typography" > <div id="test" > Show ellipsis for excess.Show ellipsis for excess.Show ellipsis for excess.Show ellipsis for excess.Show ellipsis for excess.Show ellipsis for excess.Show ellipsis for excess.Show ellipsis for excess.Show ellipsis for excess.Show ellipsis for excess.Show ellipsis for excess.Show ellipsis for excess.Show ellipsis for excess.Show ellipsis for excess. ❯ src/tag/__tests__/index.test.tsx:48:37
src/PageContainer/__tests__/index.test.tsx > PageContainer > basic: packages/ui/src/PageContainer/__tests__/index.test.tsx#L10
Error: Snapshot `PageContainer > basic 1` mismatched - Expected + Received @@ -129,11 +129,11 @@ </span> <span class="ant-descriptions-item-content" > <span - class="ant-typography ant-typography-ellipsis ant-typography-ellipsis-single-line" + class="ant-typography ant-typography-ellipsis ant-typography-ellipsis-single-line ant-typography" > 曲丽丽 </span> </span> </div> @@ -152,11 +152,11 @@ </span> <span class="ant-descriptions-item-content" > <span - class="ant-typography ant-typography-ellipsis ant-typography-ellipsis-single-line" + class="ant-typography ant-typography-ellipsis ant-typography-ellipsis-single-line ant-typography" > 1810000000 </span> </span> </div> @@ -175,11 +175,11 @@ </span> <span class="ant-descriptions-item-content" > <span - class="ant-typography ant-typography-ellipsis ant-typography-ellipsis-single-line" + class="ant-typography ant-typography-ellipsis ant-typography-ellipsis-single-line ant-typography" > 浙江省杭州市西湖区工专路 </span> </span> </div> @@ -202,11 +202,11 @@ </span> <span class="ant-descriptions-item-content" > <span - class="ant-typography ant-typography-ellipsis ant-typography-ellipsis-single-line" + class="ant-typography ant-typography-ellipsis ant-typography-ellipsis-single-line ant-typography" > <a> 421421 </a> </span> @@ -227,11 +227,11 @@ </span> <span class="ant-descriptions-item-content" > <span - class="ant-typography ant-typography-ellipsis ant-typography-ellipsis-single-line" + class="ant-typography ant-typography-ellipsis ant-typography-ellipsis-single-line ant-typography" > 2017-01-10 </span> </span> </div> @@ -250,11 +250,11 @@ </span> <span class="ant-descriptions-item-content" > <span - class="ant-typography ant-typography-ellipsis ant-typography-ellipsis-single-line" + class="ant-typography ant-typography-ellipsis ant-typography-ellipsis-single-line ant-typography" > 这是备注 </span> </span> </div> ❯ src/PageContainer/__tests__/index.test.tsx:10:37
test (16.x, ubuntu-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, pnpm/action-setup@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/