@@ -32,11 +32,10 @@ testAgainstRunningApps({ withEnv: [appConfigs.envs.withBilling] })('pricing tabl
3232 } ) ;
3333
3434 test ( 'renders pricing details of a specific plan' , async ( { page, context } ) => {
35- test . skip ( app . name . includes ( 'astro' ) , 'Still working on it' ) ;
36-
3735 const u = createTestUtils ( { app, page, context } ) ;
3836 await u . po . page . goToRelative ( '/billing/plan-details-btn' ) ;
3937
38+ await u . po . page . waitForClerkJsLoaded ( ) ;
4039 await u . po . page . getByRole ( 'button' , { name : 'Plan details' } ) . click ( ) ;
4140
4241 await u . po . planDetails . waitForMounted ( ) ;
@@ -82,7 +81,6 @@ testAgainstRunningApps({ withEnv: [appConfigs.envs.withBilling] })('pricing tabl
8281 page,
8382 context,
8483 } ) => {
85- test . skip ( app . name . includes ( 'astro' ) , 'Still working on it' ) ;
8684 const u = createTestUtils ( { app, page, context } ) ;
8785 await u . po . signIn . goTo ( ) ;
8886 await u . po . signIn . signInWithEmailAndInstantPassword ( { email : fakeUser . email , password : fakeUser . password } ) ;
@@ -97,12 +95,12 @@ testAgainstRunningApps({ withEnv: [appConfigs.envs.withBilling] })('pricing tabl
9795 } ) ;
9896
9997 test ( 'when signed in, clicking checkout button open checkout drawer' , async ( { page, context } ) => {
100- test . skip ( app . name . includes ( 'astro' ) , 'Still working on it' ) ;
10198 const u = createTestUtils ( { app, page, context } ) ;
10299 await u . po . signIn . goTo ( ) ;
103100 await u . po . signIn . signInWithEmailAndInstantPassword ( { email : fakeUser . email , password : fakeUser . password } ) ;
104101 await u . po . page . goToRelative ( '/billing/checkout-btn' ) ;
105102
103+ await u . po . page . waitForClerkJsLoaded ( ) ;
106104 await u . po . page . getByRole ( 'button' , { name : 'Checkout Now' } ) . click ( ) ;
107105 await u . po . checkout . waitForMounted ( ) ;
108106 await u . po . page . getByText ( / ^ C h e c k o u t $ / ) . click ( ) ;
@@ -132,12 +130,12 @@ testAgainstRunningApps({ withEnv: [appConfigs.envs.withBilling] })('pricing tabl
132130 } ) ;
133131
134132 test ( 'opens subscription details drawer' , async ( { page, context } ) => {
135- test . skip ( app . name . includes ( 'astro' ) , 'Still working on it' ) ;
136133 const u = createTestUtils ( { app, page, context } ) ;
137134 await u . po . signIn . goTo ( ) ;
138135 await u . po . signIn . signInWithEmailAndInstantPassword ( { email : fakeUser . email , password : fakeUser . password } ) ;
139136 await u . po . page . goToRelative ( '/billing/subscription-details-btn' ) ;
140137
138+ await u . po . page . waitForClerkJsLoaded ( ) ;
141139 await u . po . page . getByRole ( 'button' , { name : 'Subscription details' } ) . click ( ) ;
142140
143141 await u . po . subscriptionDetails . waitForMounted ( ) ;
0 commit comments