1
1
import { mockHooksCall } from './testUtils'
2
2
import { test , expect } from '@playwright/test'
3
3
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 } ) => {
5
5
await mockHooksCall ( context , 'mockUserMissingPayment' )
6
6
7
7
const page = await context . newPage ( )
@@ -13,10 +13,10 @@ test.fixme('Shows banner if user is blocked for missing payment', async ({ conte
13
13
const bannerLink = banner . getByRole ( 'link' )
14
14
await expect ( banner ) . toBeVisible ( )
15
15
await expect ( bannerLink ) . toBeVisible ( )
16
- await expect ( bannerLink ) . toHaveAttribute ( 'href' , / \/ a c c o u n t \/ b i l l i n g - i n f o r m a t i o n $ / )
16
+ await expect ( bannerLink ) . toHaveAttribute ( 'href' , / \/ a c c o u n t / )
17
17
} )
18
18
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 } ) => {
20
20
await mockHooksCall ( context , 'mockUserFailedPayment' )
21
21
22
22
const page = await context . newPage ( )
@@ -27,5 +27,5 @@ test.fixme('Shows banner if user is blocked for failed payment', async ({ contex
27
27
const banner = page . getByText ( 'payment method failed' , { exact : false } )
28
28
const bannerLink = banner . getByRole ( 'link' )
29
29
await expect ( banner ) . toBeVisible ( )
30
- await expect ( bannerLink ) . toHaveAttribute ( 'href' , / \/ a c c o u n t \/ b i l l i n g - i n f o r m a t i o n $ / )
30
+ await expect ( bannerLink ) . toHaveAttribute ( 'href' , / \/ a c c o u n t / )
31
31
} )
0 commit comments