diff --git a/src/pages/buy-sell/screens/BuySellTable/__tests__/BuySellTable.spec.tsx b/src/pages/buy-sell/screens/BuySellTable/__tests__/BuySellTable.spec.tsx index c8ead357..3f21fab8 100644 --- a/src/pages/buy-sell/screens/BuySellTable/__tests__/BuySellTable.spec.tsx +++ b/src/pages/buy-sell/screens/BuySellTable/__tests__/BuySellTable.spec.tsx @@ -241,7 +241,7 @@ describe('', () => { mockUseModalManager.isModalOpenFor.mockImplementation(modalName => modalName === 'RadioGroupFilterModal'); render(); - const filterButton = screen.getByTestId('dt_sort_dropdown_button'); + const filterButton = screen.getByTestId('dt_sort_dropdown'); await userEvent.click(filterButton); expect(mockUseModalManager.showModal).toHaveBeenCalledWith('RadioGroupFilterModal');