From 04bda8c127b2da4198b637ac3337dce2b58933b6 Mon Sep 17 00:00:00 2001 From: Viktor Barzin Date: Mon, 23 Feb 2026 19:40:06 +0000 Subject: [PATCH] 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. --- frontend/src/components/__tests__/FilterPanel.test.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/__tests__/FilterPanel.test.tsx b/frontend/src/components/__tests__/FilterPanel.test.tsx index d61e507..f09c75b 100644 --- a/frontend/src/components/__tests__/FilterPanel.test.tsx +++ b/frontend/src/components/__tests__/FilterPanel.test.tsx @@ -35,7 +35,7 @@ describe('FilterPanel', () => { const onSubmit = vi.fn(); render(); - const applyBtn = screen.getByText('Apply Filters'); + const applyBtn = screen.getByText('Show Matching Listings'); await user.click(applyBtn); expect(onSubmit).toHaveBeenCalledWith('visualize', expect.objectContaining({