#194: orphan-file sweep + drop Attachment.deletedAt #249
@ -17,9 +17,10 @@ test('lists maintenance jobs and triggers one manually', async ({ browser }) =>
|
||||
const jobsTable = page.locator('.system-jobs__table');
|
||||
await expect(jobsTable).toBeVisible();
|
||||
// All registered jobs appear (language-neutral: row count + button).
|
||||
// 5 → 6 with issue #194: the orphan-file sweep joined the job table.
|
||||
// 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);
|
||||
await expect(jobsTable.locator('tbody tr')).toHaveCount(6);
|
||||
|
||||
const firstRow = jobsTable.locator('tbody tr').first();
|
||||
await firstRow.getByRole('button').click();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user