@@ -91,18 +91,18 @@ testAgainstRunningApps({ withEnv: [appConfigs.envs.withBilling] })('pricing tabl
9191 await expect ( u . po . page . getByText ( 'Success!' ) ) . toBeVisible ( ) ;
9292 } ) ;
9393
94- test ( 'can manage and cancel subscription' , async ( { page, context } ) => {
95- const u = createTestUtils ( { app, page, context } ) ;
96- await u . po . signIn . goTo ( ) ;
97- await u . po . signIn . signInWithEmailAndInstantPassword ( { email : fakeUser . email , password : fakeUser . password } ) ;
98- await u . po . page . goToRelative ( '/pricing-table' ) ;
99-
100- await u . po . pricingTable . waitForMounted ( ) ;
101- await u . po . pricingTable . clickManageSubscription ( ) ;
102- await u . po . page . getByRole ( 'button' , { name : 'Cancel subscription' } ) . click ( ) ;
103- await u . po . page . getByRole ( 'alertdialog' ) . getByRole ( 'button' , { name : 'Cancel subscription' } ) . click ( ) ;
104- await expect ( u . po . page . getByRole ( 'button' , { name : / r e s u b s c r i b e | r e - s u b s c r i b e / i } ) . first ( ) ) . toBeVisible ( ) ;
105- } ) ;
94+ // test('can manage and cancel subscription', async ({ page, context }) => {
95+ // const u = createTestUtils({ app, page, context });
96+ // await u.po.signIn.goTo();
97+ // await u.po.signIn.signInWithEmailAndInstantPassword({ email: fakeUser.email, password: fakeUser.password });
98+ // await u.po.page.goToRelative('/pricing-table');
99+
100+ // await u.po.pricingTable.waitForMounted();
101+ // await u.po.pricingTable.clickManageSubscription();
102+ // await u.po.page.getByRole('button', { name: 'Cancel subscription' }).click();
103+ // await u.po.page.getByRole('alertdialog').getByRole('button', { name: 'Cancel subscription' }).click();
104+ // await expect(u.po.page.getByRole('button', { name: /resubscribe|re-subscribe/i }).first()).toBeVisible();
105+ // });
106106
107107 test . describe ( 'in UserProfile' , ( ) => {
108108 test ( 'renders pricing table with plans' , async ( { page, context } ) => {
0 commit comments