diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 801f72b3..5f6b92af 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -102,7 +102,7 @@ jobs: e2e-cf: name: E2E (CF Workers) runs-on: ubuntu-latest - needs: e2e-node + needs: check env: E2E_CLOUD_PRO_EMAIL_CF: ${{ secrets.E2E_CLOUD_PRO_EMAIL_CF }} E2E_CLOUD_PRO_PASSWORD_CF: ${{ secrets.E2E_CLOUD_PRO_PASSWORD_CF }} diff --git a/e2e/cloud-store.spec.ts b/e2e/cloud-store.spec.ts index 1d1344f8..71bd7a93 100644 --- a/e2e/cloud-store.spec.ts +++ b/e2e/cloud-store.spec.ts @@ -354,24 +354,6 @@ async function createGiftCardThroughUi(page: Page) { } async function gotoAdminCloudStore(page: Page) { - await expect - .poll( - async () => { - try { - await Promise.all([ - getJson(page, '/api/admin/store/settings'), - getJson(page, '/api/admin/store/packages'), - getJson(page, '/api/admin/store/credits/products'), - ]) - return true - } catch { - return false - } - }, - { timeout: 45_000 }, - ) - .toBe(true) - for (let attempt = 0; attempt < 2; attempt += 1) { await page.goto('/admin/cloud-store', { waitUntil: 'domcontentloaded' }) await expect(page).toHaveURL(/admin\/cloud-store/, { timeout: 10_000 })