feat: Add ACH payment method #6656
Annotations
2 errors and 1 warning
Run tests:
src/pages/PlanPage/subRoutes/CurrentOrgPlan/BillingDetails/BillingDetails.test.tsx#L111
TestingLibraryElementError: Found multiple elements with the text: /Address/
Here are the matching elements:
Ignored nodes: comments, script, style
<div
class="flex flex-col divide-y border"
>
<div
class="flex items-center justify-between gap-4 p-4"
>
<div>
<h3
class="font-semibold"
>
Billing details
</h3>
<p
class="pt-1 text-xs text-ds-gray-octonary"
>
You can modify your billing details. To update your tax IDs, please
<a
class="
font-sans cursor-pointer
hover:underline
focus:ring-2
text-ds-blue-darker inline-flex items-center gap-1"
data-cy="support"
data-marketing="support"
href="https://codecovpro.zendesk.com/hc/en-us"
target="_blank"
>
contact support
<span
class="text-ds-gray-quinary"
>
<svg
class="w-4 h-4"
data-icon=""
data-testid=""
fill="none"
stroke="currentColor"
viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
/>
</svg>
</span>
</a>
</p>
</div>
<button
class="
flex items-center gap-1
rounded py-1 px-4
transition-colors duration-150 motion-reduce:transition-none
focus:outline-none focus:ring
disabled:cursor-not-allowed
disabled:text-ds-gray-quaternary disabled:border-ds-gray-tertiary disabled:bg-ds-gray-primary
justify-center font-semibold
text-ds-gray-octonary bg-ds-gray-primary border-ds-gray-quaternary
border-solid border shadow
hover:bg-ds-gray-secondary
flex-none"
data-cy="button"
data-marketing="button"
data-testid="button"
>
Edit payment
</button>
</div>
Email Address
<div>
<div
class="border-ds-gray-secondary m-0 border-0"
data-state="open"
>
<button
aria-controls="radix-:r2:"
aria-expanded="true"
class="flex w-full items-center justify-between text-left hover:bg-ds-gray-primary [&_#expandable-icon]:data-[state=open]:rotate-180 p-4"
data-state="open"
type="button"
>
<span>
<h3
class="font-semibold"
>
Primary Payment Method
</h3>
</span>
<span
class="rotate-0 transition-transform"
id="expandable-icon"
>
<svg
class="w-4 h-4"
data-icon=""
data-testid=""
fill="none"
stroke="currentColor"
viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M19 9l-7 7-7-7"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
/>
</svg>
</span>
</button>
<div
class="border-ds-gray-secondary p-4 border-0 pt-0 text-xs"
data-state="open"
id="radix-:r2:"
style="transition-duration: 0s; animation-name: none;"
>
<div
class="pb-4 pl-4 pt-2"
>
<div
class="flex"
>
Payment Method
<div
class="mx-4 w-1/5 border-x border-ds-gray-tertiary px-4"
>
<h4
class="mb-2 font-semibold"
>
Cardholder name
</h4>
<p />
</div>
Address
</div>
</div>
</div>
</div>
</div>
</div>
Ignored nodes: comments, script, style
<div
class="flex"
>
Payment Method
<div
class="mx-4 w-1/5 border-x border-ds-gray-tertiary px-4"
>
<h4
class="mb-2 font-semibold"
>
|
Run tests
Process completed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading