Fix FilterPanel test: button text changed to 'Show Matching Listings'

The FilterPanel component's submit button was renamed from 'Apply Filters'
to 'Show Matching Listings' but the test was not updated to match.
This commit is contained in:
Viktor Barzin 2026-02-23 19:40:06 +00:00
parent 9b3d35669f
commit 04bda8c127
No known key found for this signature in database
GPG key ID: 0EB088298288D958

View file

@ -35,7 +35,7 @@ describe('FilterPanel', () => {
const onSubmit = vi.fn();
render(<FilterPanel {...defaultProps} onSubmit={onSubmit} />);
const applyBtn = screen.getByText('Apply Filters');
const applyBtn = screen.getByText('Show Matching Listings');
await user.click(applyBtn);
expect(onSubmit).toHaveBeenCalledWith('visualize', expect.objectContaining({