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(); } );