fix: yarn.lock #45
Annotations
2 errors and 1 warning
packages/core/client/src/schema-component/antd/action/__tests__/action.test.tsx > Action > show the drawer when click the button:
node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js#L332
TestingLibraryElementError: Unable to find an element with the text: Hello. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.
Ignored nodes: comments, script, style
<body>
<div>
<button
aria-label="action-Action-Open"
class="ant-btn css-dev-only-do-not-override-1tvv740 ant-btn-primary ant-nb-action css-dev-only-do-not-override-1tvv740 nb-action"
role="button"
type="button"
>
<span>
Open
</span>
</button>
</div>
<div>
<div
class="ant-drawer ant-drawer-right ant-nb-action-drawer css-dev-only-do-not-override-1tvv740 reset css-dev-only-do-not-override-1tvv740 ant-drawer-open"
style="display: block; z-index: 100;"
tabindex="-1"
>
<div
aria-label="drawer-Action.Drawer-Drawer Title-mask"
class="ant-drawer-mask"
role="button"
/>
<div
aria-hidden="true"
data-sentinel="start"
style="width: 0px; height: 0px; overflow: hidden; outline: none; position: absolute;"
tabindex="0"
/>
<div
class="ant-drawer-content-wrapper"
style="width: 50%;"
>
<div
aria-modal="true"
class="ant-drawer-content"
role="dialog"
>
<div
aria-label="drawer-Action.Drawer-Drawer Title"
class="ant-drawer-wrapper-body"
data-testid="drawer-Action.Drawer-Drawer Title"
role="button"
>
<div
class="ant-drawer-header"
>
<div
class="ant-drawer-header-title"
>
<button
aria-label="Close"
class="ant-drawer-close"
type="button"
>
<span
aria-label="close"
class="anticon anticon-close"
role="img"
>
<svg
aria-hidden="true"
data-icon="close"
fill="currentColor"
fill-rule="evenodd"
focusable="false"
height="1em"
viewBox="64 64 896 896"
width="1em"
>
<path
d="M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z"
/>
</svg>
</span>
</button>
<div
class="ant-drawer-title"
>
Drawer Title
</div>
</div>
</div>
<div
class="ant-drawer-body"
/>
<div
class="ant-drawer-footer"
>
<div
class="footer"
>
<button
aria-label="action-Action-Close"
class="ant-btn css-dev-only-do-not-override-1tvv740 ant-btn-default ant-nb-action css-dev-only-do-not-override-1tvv740 nb-action"
role="button"
type="button"
>
<span>
Close
</span>
</button>
</div>
</div>
</div>
</div>
</div>
|
frontend-test (20)
Process completed with exit code 1.
|
frontend-test (20)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|