Skip to content

improve(ui): improve generated types #652

improve(ui): improve generated types

improve(ui): improve generated types #652

Re-run triggered January 15, 2025 06:48
Status Failure
Total duration 3m 13s
Artifacts

test.yml

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

Annotations

5 errors and 1 warning
src/ProTable/__tests__/index.test.tsx > ProTable > render: packages/ui/src/ProTable/__tests__/index.test.tsx#L40
AssertionError: expected null to be truthy - Expected: null + Received: false ❯ src/ProTable/__tests__/index.test.tsx:40:56
src/ProTable/__tests__/index.test.tsx > ProTable > render empty: packages/ui/src/ProTable/__tests__/index.test.tsx#L56
AssertionError: expected null to be truthy - Expected: null + Received: false ❯ src/ProTable/__tests__/index.test.tsx:56:65
src/ProTable/__tests__/index.test.tsx > ProTable > default pagination should work: packages/ui/src/ProTable/__tests__/index.test.tsx#L62
TypeError: Cannot read properties of null (reading 'textContent') ❯ src/ProTable/__tests__/index.test.tsx:62:64
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 <div - class="ant-pro-table" + class="ant-result ant-result-error" > <div - class="ant-pro-card ant-pro-table-search ant-pro-table-search-query-filter" + class="ant-result-icon" > - <form - autocomplete="off" - class="ant-form ant-form-horizontal ant-form-hide-required-mark ant-pro-query-filter ant-pro-form" + <span + aria-label="close-circle" + class="anticon anticon-close-circle" + role="img" > - <input - style="display: none;" - type="text" - /> - <div - class="ant-row ant-row-start ant-pro-query-filter-row" - style="margin-left: -12px; margin-right: -12px;" + <svg + aria-hidden="true" + data-icon="close-circle" + fill="currentColor" + fill-rule="evenodd" + focusable="false" + height="1em" + viewBox="64 64 896 896" + width="1em" > - <div - class="ant-col ant-col-8 ant-pro-query-filter-row-split" - style="padding-left: 12px; padding-right: 12px;" - > - <div - class="ant-form-item" - style="flex-wrap: nowrap;" - > - <div - class="ant-row ant-form-item-row" - > - <div - class="ant-col ant-form-item-label" - style="flex: 0 0 80px;" - > - <label - class="" - for="name" - title="Name" - > - Name - </label> - </div> - <div - class="ant-col ant-form-item-control" - style="max-width: calc(100% - 80px);" - > - <div - class="ant-form-item-control-input" - > - <div - class="ant-form-item-control-input-content" - > - <span - class="ant-input-affix-wrapper ant-input-outlined" - style="width: 100%;" - > - <input - class="ant-input" - id="name" - placeholder="请输入" - type="text" - value="" - /> - <span - class="ant-input-suffix" - > - <span - class="ant-input-clear-icon ant-input-clear-icon-hidden" - role="button" - tabindex="-1" - > - <span - aria-label="close-circle" - class="anticon anticon-close-circle" - role="img" - > - <svg - aria-hidden="true" - data-icon="close-circle" - fill="currentColor" - fill-rule="evenodd" - focusable="false" - height="1em" - viewBox="64 64 896 896" - width="1em" - > - <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.
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