diff --git a/src/components/layout/components/MainMenu.tsx b/src/components/layout/components/MainMenu.tsx index 4087d973..88b433fc 100644 --- a/src/components/layout/components/MainMenu.tsx +++ b/src/components/layout/components/MainMenu.tsx @@ -9,8 +9,7 @@ const MAIN_MENUS: Menu[] = [ { menuName: "DATA", items: [{ name: "item 1", handler: () => {} }] }, { menuName: "LEARN", items: [{ name: "item 1", handler: () => {} }] }, { menuName: "ENGAGE", items: [{ name: "item 1", handler: () => {} }] }, - { menuName: "CONTACT", items: [{ name: "item 1", handler: () => {} }] }, - { menuName: "ABOUT", items: [{ name: "item 1", handler: () => {} }] }, + { menuName: "NEWS", items: [{ name: "item 1", handler: () => {} }] }, ]; interface MainMenuProps { diff --git a/src/components/search/SearchbarButtonGroup.tsx b/src/components/search/SearchbarButtonGroup.tsx index a210fd3e..207d4582 100644 --- a/src/components/search/SearchbarButtonGroup.tsx +++ b/src/components/search/SearchbarButtonGroup.tsx @@ -92,7 +92,6 @@ const SearchbarButtonGroup: FC = ({ backgroundColor: color.brightBlue.dark, }, }} - aria-label="search" /> ); diff --git a/src/components/search/__test__/ComplexTextSearch.test.tsx b/src/components/search/__test__/ComplexTextSearch.test.tsx index d2f22e43..7620c5b6 100644 --- a/src/components/search/__test__/ComplexTextSearch.test.tsx +++ b/src/components/search/__test__/ComplexTextSearch.test.tsx @@ -35,8 +35,9 @@ describe("ComplexTextSearch Component", () => { }); it("renders ComplexTextSearch", () => { - expect(screen.getByText("Filters")).toBeInTheDocument(); - expect(screen.getByText("Search")).toBeInTheDocument(); + expect(screen.getByTestId("CloseIcon")).toBeInTheDocument(); + expect(screen.getByTestId("TuneIcon")).toBeInTheDocument(); + expect(screen.getByTestId("SearchIcon")).toBeInTheDocument(); }); // The visibility of Filter is tested in AdvanceFilters unit test