diff --git a/e2e/documents-ai.spec.ts b/e2e/documents-ai.spec.ts index 15f267665..306218554 100644 --- a/e2e/documents-ai.spec.ts +++ b/e2e/documents-ai.spec.ts @@ -104,6 +104,13 @@ test.describe("document vault — AI assist + content search", () => { await ensureVaultAiFixture(); }); + // These AI flows drive several mocked provider round-trips per test; on a + // loaded CI runner they race the default 30s, so the whole group earns the + // tripled timeout rather than flaking green paths. + test.beforeEach(() => { + test.slow(); + }); + // ── (a) Review-first assist: prefill → edit → save, nothing auto-committed ── test("assist prefills an editable draft that only saves on commit", async ({ diff --git a/e2e/medications-wizard-biweekly.spec.ts b/e2e/medications-wizard-biweekly.spec.ts index b4aebe942..68cc6b024 100644 --- a/e2e/medications-wizard-biweekly.spec.ts +++ b/e2e/medications-wizard-biweekly.spec.ts @@ -32,6 +32,7 @@ test.describe("medication wizard — bi-weekly", () => { test("creates an every-2-weeks Monday medication end-to-end", async ({ page, }) => { + test.slow(); await stubDashboardAnalytics(page); const capture = mockMedicationsApi(page, { id: STUB_MEDICATION_ID, diff --git a/e2e/medications-wizard-compose.spec.ts b/e2e/medications-wizard-compose.spec.ts index 76ddb71f7..ddba23f37 100644 --- a/e2e/medications-wizard-compose.spec.ts +++ b/e2e/medications-wizard-compose.spec.ts @@ -33,6 +33,7 @@ test.describe("medication wizard — compose-mode", () => { test.use({ storageState: STORAGE_STATE_PATH }); test("creates a 2-schedule medication end-to-end", async ({ page }) => { + test.slow(); await stubDashboardAnalytics(page); const listEntry = { diff --git a/e2e/medications-wizard-monthly.spec.ts b/e2e/medications-wizard-monthly.spec.ts index ea3ed848b..7e7a21373 100644 --- a/e2e/medications-wizard-monthly.spec.ts +++ b/e2e/medications-wizard-monthly.spec.ts @@ -30,6 +30,7 @@ test.describe("medication wizard — monthly", () => { test("creates a monthly-on-day-15 medication end-to-end", async ({ page, }) => { + test.slow(); await stubDashboardAnalytics(page); const capture = mockMedicationsApi(page, { id: STUB_MEDICATION_ID, diff --git a/e2e/medications-wizard-oneshot.spec.ts b/e2e/medications-wizard-oneshot.spec.ts index 9bb93e075..e341811ba 100644 --- a/e2e/medications-wizard-oneshot.spec.ts +++ b/e2e/medications-wizard-oneshot.spec.ts @@ -34,6 +34,7 @@ test.describe("medication wizard — one-shot", () => { test.use({ storageState: STORAGE_STATE_PATH }); test("creates a single-dose medication end-to-end", async ({ page }) => { + test.slow(); await stubDashboardAnalytics(page); const capture = mockMedicationsApi(page, { id: STUB_MEDICATION_ID, diff --git a/e2e/medications-wizard-rolling.spec.ts b/e2e/medications-wizard-rolling.spec.ts index d98fad92b..02ecafc8e 100644 --- a/e2e/medications-wizard-rolling.spec.ts +++ b/e2e/medications-wizard-rolling.spec.ts @@ -33,6 +33,7 @@ test.describe("medication wizard — rolling", () => { test("creates an every-7-days-from-last-intake medication end-to-end", async ({ page, }) => { + test.slow(); await stubDashboardAnalytics(page); const capture = mockMedicationsApi(page, { id: STUB_MEDICATION_ID, diff --git a/e2e/medications-wizard-weekdays.spec.ts b/e2e/medications-wizard-weekdays.spec.ts index 913f2c101..5386c6666 100644 --- a/e2e/medications-wizard-weekdays.spec.ts +++ b/e2e/medications-wizard-weekdays.spec.ts @@ -29,6 +29,7 @@ test.describe("medication wizard — weekdays", () => { test.use({ storageState: STORAGE_STATE_PATH }); test("creates a Mo/Mi/Fr medication end-to-end", async ({ page }) => { + test.slow(); await stubDashboardAnalytics(page); const capture = mockMedicationsApi(page, { id: STUB_MEDICATION_ID,