From 6b17351e37488c8bf30625f5262788d75693ac08 Mon Sep 17 00:00:00 2001 From: chloe <44501120+chloezxyy@users.noreply.github.com> Date: Wed, 14 Feb 2024 15:10:44 +0800 Subject: [PATCH] fix e2e --- cypress/e2e/homepage.spec.ts | 2 +- src/components/index/HomePageHeader.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cypress/e2e/homepage.spec.ts b/cypress/e2e/homepage.spec.ts index b571dfdb8..7e7f77250 100644 --- a/cypress/e2e/homepage.spec.ts +++ b/cypress/e2e/homepage.spec.ts @@ -92,7 +92,7 @@ viewports.forEach((viewport) => { it("should have expected Header title and description", () => { cy.findByTestId("header-title").should( "have.text", - "Connecting old and new worlds", + "Connecting old and new worlds ", ); // No TC diff --git a/src/components/index/HomePageHeader.tsx b/src/components/index/HomePageHeader.tsx index df6b585a2..5ebb17b3d 100644 --- a/src/components/index/HomePageHeader.tsx +++ b/src/components/index/HomePageHeader.tsx @@ -43,7 +43,7 @@ export function HomePageHeader(): JSX.Element { >{`${word} `} ) : ( - {`${word}`} + {`${word} `} ), )}