Skip to content

Commit f4a444c

Browse files
authored
chore(e2e): Test case for displaying used method after checkout (#7003)
1 parent e9a9f03 commit f4a444c

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.changeset/thin-worms-shout.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: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,8 @@ testAgainstRunningApps({ withEnv: [appConfigs.envs.withBilling] })('pricing tabl
117117
await u.po.checkout.waitForMounted();
118118
await u.po.checkout.fillTestCard();
119119
await u.po.checkout.clickPayOrSubscribe();
120-
await expect(u.po.page.getByText('Payment was successful!')).toBeVisible();
120+
await expect(u.po.checkout.root.getByText('Payment was successful!')).toBeVisible();
121+
await expect(u.po.checkout.root.getByText('Visa ⋯ 4242')).toBeVisible();
121122
await u.po.checkout.confirmAndContinue();
122123

123124
// eslint-disable-next-line playwright/no-conditional-in-test

0 commit comments

Comments
 (0)