diff --git a/__tests__/components/PhaseBanner.test.js b/__tests__/components/PhaseBanner.test.js index 637d7d4bf..0ea896db8 100644 --- a/__tests__/components/PhaseBanner.test.js +++ b/__tests__/components/PhaseBanner.test.js @@ -36,11 +36,10 @@ describe('PhaseBanner', () => { { > ) const bannerBoldText = screen.getByText('bannerBoldText') - const bannerText = screen.getByText('bannerText') - const bannerLink = screen.getByText('bannerLink') + const bannerSummaryTitle = screen.getByText('bannerSummaryTitle') + const bannerSummaryContent = screen.getByText('bannerSummaryContent') const bannerButtonText = screen.getByText('bannerButtonText') expect(bannerBoldText).toBeInTheDocument() - expect(bannerText).toBeInTheDocument() - expect(bannerLink).toBeInTheDocument() + expect(bannerSummaryTitle).toBeInTheDocument() + expect(bannerSummaryContent).toBeInTheDocument() expect(bannerButtonText).toBeInTheDocument() }) @@ -65,11 +64,10 @@ describe('PhaseBanner', () => { {props.bannerBoldText || ''} {props.bannerText}

- - {props.bannerLink} - {props.bannerButtonExternalLink && ( - {props.bannerButtonExternalText} - )} - - + + {props.bannerSummaryTitle} + +
+ + {props.bannerSummaryContent} + +
+