diff --git a/context/app/static/js/shared-styles/panels/PanelListLandingPage/PanelListLandingPage.tsx b/context/app/static/js/shared-styles/panels/PanelListLandingPage/PanelListLandingPage.tsx index 1bcfaa0b42..1d2b92cd0b 100644 --- a/context/app/static/js/shared-styles/panels/PanelListLandingPage/PanelListLandingPage.tsx +++ b/context/app/static/js/shared-styles/panels/PanelListLandingPage/PanelListLandingPage.tsx @@ -13,8 +13,8 @@ interface PanelListLandingPageProps extends PropsWithChildren { function PanelListLandingPage({ title, subtitle, description, children, noIcon, ...rest }: PanelListLandingPageProps) { return ( - - {title} + + {title} {subtitle} diff --git a/end-to-end/cypress/e2e/portal/pages/publications.cy.js b/end-to-end/cypress/e2e/portal/pages/publications.cy.js index c226ba47ea..538471300a 100644 --- a/end-to-end/cypress/e2e/portal/pages/publications.cy.js +++ b/end-to-end/cypress/e2e/portal/pages/publications.cy.js @@ -5,7 +5,7 @@ describe("publications list page", () => { cy.visit("/publications"); }); it("has a title, subtitle, and description at the top", () => { - cy.findByTestId("landing-page-title").findByText("Publications"); + cy.findByTestId("publications-title").findByText("Publications"); cy.findByTestId("landing-page-description").contains( "The following publications" );