From 1ee9b9457d812834af3da95a09a2be083d2999ce Mon Sep 17 00:00:00 2001 From: Flaminel Date: Tue, 27 Oct 2026 13:27:23 +0200 Subject: [PATCH] fixed random year in whisparr v2 preview test --- e2e/tests/live-arr-fast/seeker-preview.api.spec.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/e2e/tests/live-arr-fast/seeker-preview.api.spec.ts b/e2e/tests/live-arr-fast/seeker-preview.api.spec.ts index 4bef9b01..c93135b0 100644 --- a/e2e/tests/live-arr-fast/seeker-preview.api.spec.ts +++ b/e2e/tests/live-arr-fast/seeker-preview.api.spec.ts @@ -218,7 +218,7 @@ test.describe('Seeker preview on Whisparr v2', () => { test.afterEach(async ({ api }) => { await teardownInstances(api); await WHISPARR2.arr.put('/api/v3/episode/monitor', { - episodeIds: yearSearch.scenes.map((scene) => scene.id), + episodeIds: [...yearSearch.scenes.map((scene) => scene.id), singleScene.monitored.id], monitored: true, }); await restoreLibrary(WHISPARR2, library); @@ -226,6 +226,11 @@ test.describe('Seeker preview on Whisparr v2', () => { }); test('lists the seeded site by year and scene dates with funnel counts', async ({ api }) => { + // Seeker picks a random year; leave 2019 as the only wanted one + await WHISPARR2.arr.put('/api/v3/episode/monitor', { + episodeIds: [singleScene.monitored.id], + monitored: false, + }); const instanceId = await arrangeInstance(api, WHISPARR2); const preview = await getPreview(api, instanceId);