diff --git a/ghost/core/test/e2e-browser/portal/upgrade.spec.js b/ghost/core/test/e2e-browser/portal/upgrade.spec.js index 688e192c9e..9fd1909212 100644 --- a/ghost/core/test/e2e-browser/portal/upgrade.spec.js +++ b/ghost/core/test/e2e-browser/portal/upgrade.spec.js @@ -143,13 +143,13 @@ test.describe('Portal', () => { // open portal and check that member has been upgraded to paid tier await portalTriggerButton.click(); - await expect(portalFrame.getByText('$50.00/year')).toBeVisible(); - await expect(portalFrame.getByRole('heading', {name: 'Billing info'})).toBeVisible(); - await expect(portalFrame.getByText('**** **** **** 4242')).toBeVisible(); + await expect(portalFrame.getByText('$50.00/year')).toBeVisible({timeout: 10000}); + await expect(portalFrame.getByRole('heading', {name: 'Billing info'})).toBeVisible({timeout: 10000}); + await expect(portalFrame.getByText('**** **** **** 4242')).toBeVisible({timeout: 10000}); // check that member has been upgraded in admin and a tier exists for them await page.goto(memberUrl); - await expect(page.locator('[data-test-tier]').first()).toBeVisible(); + await expect(page.locator('[data-test-tier]').first()).toBeVisible({timeout: 10000}); }); }); });