Skip to content

Commit 06c2d47

Browse files
authored
Update expected URL to fix payment tests (#205)
1 parent 9c06e98 commit 06c2d47

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/user.playwright.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { mockHooksCall } from './testUtils'
22
import { test, expect } from '@playwright/test'
33

4-
test.fixme('Shows banner if user is blocked for missing payment', async ({ context }) => {
4+
test('Shows banner if user is blocked for missing payment', async ({ context }) => {
55
await mockHooksCall(context, 'mockUserMissingPayment')
66

77
const page = await context.newPage()
@@ -13,10 +13,10 @@ test.fixme('Shows banner if user is blocked for missing payment', async ({ conte
1313
const bannerLink = banner.getByRole('link')
1414
await expect(banner).toBeVisible()
1515
await expect(bannerLink).toBeVisible()
16-
await expect(bannerLink).toHaveAttribute('href', /\/account\/billing-information$/)
16+
await expect(bannerLink).toHaveAttribute('href', /\/account/)
1717
})
1818

19-
test.fixme('Shows banner if user is blocked for failed payment', async ({ context }) => {
19+
test('Shows banner if user is blocked for failed payment', async ({ context }) => {
2020
await mockHooksCall(context, 'mockUserFailedPayment')
2121

2222
const page = await context.newPage()
@@ -27,5 +27,5 @@ test.fixme('Shows banner if user is blocked for failed payment', async ({ contex
2727
const banner = page.getByText('payment method failed', { exact: false })
2828
const bannerLink = banner.getByRole('link')
2929
await expect(banner).toBeVisible()
30-
await expect(bannerLink).toHaveAttribute('href', /\/account\/billing-information$/)
30+
await expect(bannerLink).toHaveAttribute('href', /\/account/)
3131
})

0 commit comments

Comments
 (0)