From da64ccd73619e8ed99bc0725ae006719dbf665b3 Mon Sep 17 00:00:00 2001 From: Flaminel Date: Mon, 19 Oct 2026 14:46:19 +0300 Subject: [PATCH] fixed filter spec picking the specials series --- e2e/tests/live-arr-fast/seeker-filters.api.spec.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/e2e/tests/live-arr-fast/seeker-filters.api.spec.ts b/e2e/tests/live-arr-fast/seeker-filters.api.spec.ts index d179d9a6..a1f1539f 100644 --- a/e2e/tests/live-arr-fast/seeker-filters.api.spec.ts +++ b/e2e/tests/live-arr-fast/seeker-filters.api.spec.ts @@ -412,7 +412,13 @@ test.describe('Seeker monitored-only filters on Sonarr', () => { }); test('searches the season once monitoredOnly lets the unmonitored gap count', async ({ api }) => { - const instanceId = await arrangeInstance(api, SONARR, { instance: { monitoredOnly: false } }); + // The seed's unmonitored specials series would count too. + const skipTagId = await SONARR.arr.ensureTag(SKIP_TAG); + for (const other of library.filter((series) => series.id !== SONARR.itemId)) { + await SONARR.arr.put(`/api/v3/series/${other.id}`, { ...other, tags: [skipTagId] }); + } + + const instanceId = await arrangeInstance(api, SONARR, { instance: { monitoredOnly: false, skipTags: [SKIP_TAG] } }); await triggerSeeker(api); await expect.poll(async () => (await listSearchEvents(api, instanceId)).length, { timeout: SETTLE_MS }).toBe(1);