Expect the notification-digest job in the system panel pack (#95)
All checks were successful
CD / Build and push images (push) Successful in 1m7s
CD / Deploy to Test (push) Successful in 10s
CD / Smoke tests against Test (push) Successful in 1m6s
CD / Promote to Int (push) Successful in 10s
CI / Lint, typecheck, test (push) Successful in 3m26s
CI / Build container images (push) Has been skipped
CI / Auth e2e pack (push) Successful in 5m25s
CI / Import/export fidelity gate (push) Successful in 46s

The digest scheduler registration added a fifth maintenance job; the
system pack's hard-coded row count lagged behind.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EwZ4jR4KFAPvpjWevfUGX1
This commit is contained in:
Claude Fable 5 2026-07-11 23:44:44 +02:00
parent 9674c0bae2
commit 9ee9bbe4f0

View File

@ -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();