diff --git a/apps/web/e2e/system.spec.ts b/apps/web/e2e/system.spec.ts index 4c36c3f..ff84620 100644 --- a/apps/web/e2e/system.spec.ts +++ b/apps/web/e2e/system.spec.ts @@ -16,8 +16,10 @@ test('lists maintenance jobs and triggers one manually', async ({ browser }) => const jobsTable = page.locator('.system-jobs__table'); await expect(jobsTable).toBeVisible(); - // All four registered jobs appear (language-neutral: row count + button). - await expect(jobsTable.locator('tbody tr')).toHaveCount(4); + // All registered jobs appear (language-neutral: row count + button). + // Keep in sync with the scheduler registrations: trash-purge, + // version-thinning, page-compaction, data-export-purge, notification-digest. + await expect(jobsTable.locator('tbody tr')).toHaveCount(5); const firstRow = jobsTable.locator('tbody tr').first(); await firstRow.getByRole('button').click();