test(system): match the scan scope keys beside the review counters

This commit is contained in:
Vito Sansevero
2026-10-23 13:59:23 -07:00
parent 40cecbced2
commit d2ff73d299
@@ -116,7 +116,7 @@ test('Scan changes opens it with that one source ("1 output folder") and starts
const id = page.url().split('/').pop();
// The job walks only that source (the count is recorded once the walk has listed it).
await expect.poll(async () => (await serverJson(request, `/prompt_manager/jobs/${id}`)).job.scope)
.toEqual({ files: 'new', roots: [1], output_folders: 1 });
.toMatchObject({ files: 'new', roots: [1], output_folders: 1 });
await expect(page.locator('#workspace-main h1')).toHaveText('Scan for metadata');
});