remove unneeded test in extendNames #4129
Annotations
3 errors and 2 warnings
Run pnpm test:coverage:
src/transaction-flow/input/ExtendNames/ExtendNames-flow.test.tsx#L71
TestingLibraryElementError: Unable to find an element with the text: Invoice. 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>
<div
class="sc-ecPEgm eIWqA-d"
>
<div
class="sc-dcJsrY fjHNVR sc-eZYNyq bMKWTv"
>
input.extendNames.title.1
</div>
</div>
<div
class="sc-bDumWk bgrVOH"
>
<div
class="sc-kOHTFB jmpQiz"
data-testid="extend-names-modal"
>
<div
class="sc-dtInlm fufJGJ"
>
<div
class="sc-kOPcWz ffHSk"
data-testid="scrollbox-top-intersect"
/>
<div
class="sc-dkmUuB bnNBZg"
>
<div
class="sc-SrznA kCCESB"
>
<div
class="sc-kpDqfm hlNkIg"
>
<svg
viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg"
>
<circle
cx="12"
cy="12"
fill="none"
r="9"
stroke-dasharray="42"
stroke-linecap="round"
/>
<circle
cx="12"
cy="12"
fill="none"
opacity="0.25"
r="9"
stroke-linecap="round"
/>
</svg>
</div>
</div>
</div>
<div
class="sc-kOPcWz ffHSk"
data-testid="scrollbox-bottom-intersect"
/>
</div>
<div
class="sc-cWSHoV ezDczc"
data-testid="scrollbox-top-line"
data-top-line="false"
/>
<div
class="sc-cWSHoV ezDczc"
data-bottom-line="false"
data-testid="scrollbox-bottom-line"
/>
</div>
</div>
<div
class="sc-kWtpeL egkGYW"
>
<div
class="sc-hHOBiw jRRoOj"
>
<button
class="sc-dAlyuH bbMPlF"
type="button"
>
<div
class="sc-jlZhew bRSBMv"
>
action.cancel
</div>
<div
class="sc-cwHptR kqHHrJ"
>
<div
class="sc-jEACwC dzRcSl"
/>
</div>
</button>
<button
class="sc-dAlyuH TcTPD"
data-testid="extend-names-confirm"
disabled=""
type="button"
>
<div
class="sc-jlZhew bRSBMv"
>
action.next
</div>
<div
class="sc-cwHptR kqHHrJ"
>
<div
class="sc-jEACwC dzRcSl"
/>
</div>
</button>
</div>
</div>
</div>
</body>
❯ Object.getElementError node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/config.js:37:19
❯ node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/query-helpers.js:76:38
❯ node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/query-helpers.js:52:17
❯ node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/query-helpers.js:95:19
❯ src/transaction-flow/input/ExtendNames/ExtendNames-flow.test.tsx:71:30
|
Run pnpm test:coverage:
src/transaction-flow/input/ExtendNames/ExtendNames-flow.test.tsx#L92
Error: expect(element).toHaveAttribute("disabled") // element.hasAttribute("disabled")
Expected the element to have attribute:
disabled
Received:
null
❯ src/transaction-flow/input/ExtendNames/ExtendNames-flow.test.tsx:92:28
|
Run pnpm test:coverage
Process completed with exit code 1.
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "stateful-build", "stateful-report", "stateless-build", "stateless-report".
Please update your workflow to use v4 of the artifact actions.
Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
|
Loading