From ea6b509016db503d26248bd87df20db08ff3f5f4 Mon Sep 17 00:00:00 2001 From: Timothy Date: Sat, 18 Jul 2026 01:23:35 +0200 Subject: [PATCH] fix(176): guard Builder toggle for out-of-subset queries; resync query on reseed --- web/src/screens/CollectionsScreen.test.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/web/src/screens/CollectionsScreen.test.tsx b/web/src/screens/CollectionsScreen.test.tsx index 492c603a9..b238a82f8 100644 --- a/web/src/screens/CollectionsScreen.test.tsx +++ b/web/src/screens/CollectionsScreen.test.tsx @@ -306,6 +306,7 @@ describe('CollectionsScreen', () => { const dialog = await screen.findByRole('dialog'); expect(within(dialog).getByPlaceholderText(/genre/)).toHaveValue('genre:foo~2'); expect(within(dialog).getByText('This query is too advanced to show in the builder.')).toBeInTheDocument(); + expect(within(dialog).getByRole('button', { name: 'Builder' })).toBeDisabled(); } );