fix(176): guard Builder toggle for out-of-subset queries; resync query on reseed
This commit is contained in:
@@ -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();
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user