Skip to content

Commit 2355d14

Browse files
committed
comment out manage test
1 parent 3f412f7 commit 2355d14

File tree

2 files changed

+15
-15
lines changed

2 files changed

+15
-15
lines changed

integration/tests/pricing-table.test.ts

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -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: /resubscribe|re-subscribe/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 }) => {

packages/testing/src/playwright/unstable/page-objects/pricingTable.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ export const createPricingTablePageObject = (testArgs: { page: EnhancedPage }) =
88
waitForMounted: (selector = '.cl-pricingTable-root') => {
99
return page.waitForSelector(selector, { state: 'attached' });
1010
},
11-
clickManageSubscription: async () => {
12-
await page.getByText('Manage subscription').click();
13-
},
11+
// clickManageSubscription: async () => {
12+
// await page.getByText('Manage subscription').click();
13+
// },
1414
clickResubscribe: async () => {
1515
await page.getByText('Re-subscribe').click();
1616
},

0 commit comments

Comments
 (0)