fix: Handle ach case #6892
ci.yml
on: pull_request
Install deps
15s
Build Self Hosted Image
/
Build Self Hosted App
4m 13s
Codecov Startup
/
Codecov Startup
18s
Generate runner indexes Vitest
4s
Run Lint
1m 11s
Run Type Checker
42s
Run Prettier Check
37s
Upload Bundle Stats - Production
1m 41s
Upload Bundle Stats - Staging
1m 47s
Run storybook
1m 41s
Run Fossa
14s
Build Self Hosted Image
/
Push Self Hosted Image
0s
Build Self Hosted Image
/
Push Self Hosted Release Image
0s
Matrix: test-vitest
Build App
0s
Push Self Hosted Image
/
Push Self Hosted Image
Push Self Hosted Image
/
Push Self Hosted Release Image
Annotations
16 errors
src/pages/PlanPage/subRoutes/UpgradePlanPage/UpgradeForm/UpgradeForm.test.tsx > UpgradeForm > when rendered > when user has unverified payment methods > shows modal when form is submitted:
src/pages/PlanPage/subRoutes/UpgradePlanPage/UpgradeForm/UpgradeForm.test.tsx#L448
TestingLibraryElementError: Unable to find an element with the text: /Are you sure you want to abandon this upgrade and start a new one/. 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>
<form
class="flex flex-col gap-6 border p-4 text-ds-gray-default md:w-2/3"
style=""
>
<div
class="flex flex-col gap-1"
>
<h3
class="font-semibold"
>
Organization
</h3>
<span>
gh
</span>
</div>
<div
class="flex flex-col gap-2"
>
<div
class="flex w-fit flex-col gap-2"
>
<h3
class="font-semibold"
>
Choose a billing cycle
</h3>
<div
class="inline-flex items-center gap-2"
>
<div
class="flex flex-wrap divide-x rounded border"
>
<button
class="flex-1 py-1 px-2 text-sm cursor-pointer whitespace-nowrap disabled:text-ds-gray-quaternary disabled:border-ds-gray-tertiary disabled:bg-ds-gray-primary bg-ds-primary-base text-white font-semibold rounded-l"
type="button"
>
Annual
</button>
<button
class="flex-1 py-1 px-2 text-sm cursor-pointer whitespace-nowrap disabled:text-ds-gray-quaternary disabled:border-ds-gray-tertiary disabled:bg-ds-gray-primary rounded-r"
type="button"
>
Monthly
</button>
</div>
<p>
<span
class="font-semibold"
>
$
10
</span>
per seat/month, billed
annually
</p>
</div>
</div>
</div>
<div
class="flex flex-col gap-2 xl:w-5/12"
>
<div
class="w-1/2"
>
<div>
<label
class="mb-2 block font-semibold"
for="text-input7"
>
Enter seat count
</label>
<div
class="relative"
>
<input
class="block h-8 w-full border-ds-gray-tertiary bg-ds-container px-3 text-sm disabled:border-ds-gray-tertiary disabled:bg-ds-gray-primary disabled:text-ds-gray-quaternary rounded border"
data-cy="seats"
data-marketing="plan-pricing-seats"
id="nb-seats"
min="2"
name="seats"
size="20"
type="number"
/>
</div>
</div>
</div>
<div
class="border-l-2 pl-2"
>
<p>
Your organization has
1
members.
</p>
<p
class="mb-4 text-xs text-ds-gray-quinary"
>
*You have
1
active
student
that do not count towards the number of active users.
</p>
</div>
</div>
<div
class="bg-ds-gray-primary p-4"
>
<p
class="pb-3"
>
<span
class="font-semibold"
>
$20.00
</span>
/month billed annually at
$240.00
</p>
<p>
🎉 You
<span
class="font-semibold"
>
save
$48.00
</span>
with annual billing
,
<span
class="font-semibold"
>
next billing date
</span>
is
October 22nd, 2021
</p>
</div>
<div>
<h3
class="pb-2 font-semibold"
>
Review your plan changes
</h3>
|
Test Runner #2 - Vitest
Process completed with exit code 1.
|
Test Runner #6 - Vitest
The job was canceled because "_2" failed.
|
Test Runner #7 - Vitest
The job was canceled because "_2" failed.
|
Test Runner #3 - Vitest
The job was canceled because "_2" failed.
|
Test Runner #3 - Vitest
The operation was canceled.
|
Test Runner #5 - Vitest
The job was canceled because "_2" failed.
|
Test Runner #5 - Vitest
The operation was canceled.
|
Test Runner #0 - Vitest
The job was canceled because "_2" failed.
|
Test Runner #0 - Vitest
The operation was canceled.
|
Test Runner #1 - Vitest
The job was canceled because "_2" failed.
|
Test Runner #1 - Vitest
The operation was canceled.
|
Test Runner #4 - Vitest
The job was canceled because "_2" failed.
|
Test Runner #4 - Vitest
The operation was canceled.
|
Test Runner #8 - Vitest
The job was canceled because "_2" failed.
|
Test Runner #8 - Vitest
The operation was canceled.
|