2
0

🐛 (billing) Upgrade again after cancelling

This commit is contained in:
Baptiste Arnaud
2022-10-31 19:08:04 +01:00
parent 385853ca3c
commit d132cb118a
4 changed files with 27 additions and 7 deletions

View File

@ -207,6 +207,12 @@ test('plan changes should work', async ({ page }) => {
await expect(page.locator('[data-testid="current-subscription"]')).toHaveText(
'Current workspace subscription: Free'
)
// Upgrade again to PRO
await page.getByRole('button', { name: 'Upgrade' }).nth(1).click()
await expect(
page.locator('text="Workspace PRO plan successfully updated 🎉" >> nth=0')
).toBeVisible({ timeout: 20 * 1000 })
})
test('should display invoices', async ({ page }) => {