Skip to content

Commit 7e21cd1

Browse files
authored
Merge branch 'main' into elef/com-1112-vue-only
2 parents 64ef49a + e9f538a commit 7e21cd1

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

.changeset/chilly-kids-fly.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
---
2+
---

integration/tests/pricing-table.test.ts

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,9 @@ testAgainstRunningApps({ withEnv: [appConfigs.envs.withBilling] })('pricing tabl
284284
await u.po.checkout.fillTestCard();
285285
await u.po.checkout.clickPayOrSubscribe();
286286

287-
await expect(u.po.checkout.root.getByText(/Trial.*successfully.*started/i)).toBeVisible();
287+
await expect(u.po.checkout.root.getByText(/Trial.*successfully.*started/i)).toBeVisible({
288+
timeout: 15_000,
289+
});
288290
await u.po.checkout.confirmAndContinue();
289291

290292
await u.po.page.goToRelative('/pricing-table');
@@ -412,6 +414,7 @@ testAgainstRunningApps({ withEnv: [appConfigs.envs.withBilling] })('pricing tabl
412414
await u.po.checkout.clickPayOrSubscribe();
413415
await u.po.checkout.confirmAndContinue();
414416

417+
await u.po.page.waitForAppUrl('/');
415418
await u.po.page.goToRelative('/user');
416419
await u.po.userProfile.waitForMounted();
417420
await u.po.userProfile.switchToBillingTab();
@@ -433,7 +436,8 @@ testAgainstRunningApps({ withEnv: [appConfigs.envs.withBilling] })('pricing tabl
433436
await u.po.checkout.waitForMounted();
434437
await u.po.checkout.root.getByRole('button', { name: /^pay\s\$/i }).waitFor({ state: 'visible' });
435438
await u.po.checkout.clickPayOrSubscribe();
436-
439+
await u.po.checkout.confirmAndContinue();
440+
await u.po.page.waitForAppUrl('/');
437441
await u.po.page.goToRelative('/user');
438442
await u.po.userProfile.waitForMounted();
439443
await u.po.userProfile.switchToBillingTab();
@@ -475,7 +479,9 @@ testAgainstRunningApps({ withEnv: [appConfigs.envs.withBilling] })('pricing tabl
475479
await u.po.checkout.waitForMounted();
476480
await u.po.checkout.fillTestCard();
477481
await u.po.checkout.clickPayOrSubscribe();
478-
await expect(u.po.page.getByText('Payment was successful!')).toBeVisible();
482+
await expect(u.po.page.getByText('Payment was successful!')).toBeVisible({
483+
timeout: 15_000,
484+
});
479485

480486
await u.po.checkout.confirmAndContinue();
481487
await u.po.pricingTable.startCheckout({ planSlug: 'free_user', shouldSwitch: true });

0 commit comments

Comments
 (0)