Skip to content

Commit 79b261e

Browse files
VIA-304 SB Correct Whooping Cough vaccine page link text again.
1 parent e137367 commit 79b261e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

e2e/general/navigation.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ test.describe("Navigation", () => {
3232

3333
{
3434
section: AgeSectionTestId.PREGNANCY,
35-
linkText: "Whooping cough vaccination in pregnancy",
35+
linkText: "Whooping cough (pertussis) in pregnancy",
3636
pageName: "whooping-cough",
3737
},
3838
{ section: AgeSectionTestId.PREGNANCY, linkText: "RSV in pregnancy", pageName: "rsv-pregnancy" },

src/app/vaccines-for-all-ages/page.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ describe("VaccinesForAllAges", () => {
4646
assertCardLinkIsPresentInSection("Pneumococcal", "/vaccines/pneumococcal-vaccine", AgeSectionTestId.ADULTS);
4747

4848
assertCardLinkIsPresentInSection(
49-
"Whooping cough vaccination in pregnancy",
49+
"Whooping cough (pertussis) in pregnancy",
5050
"/vaccines/whooping-cough-vaccination",
5151
AgeSectionTestId.PREGNANCY,
5252
);

src/models/vaccine.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ const VaccineInfo: Record<VaccineType, VaccineDetails> = {
250250
indefiniteArticle: "a",
251251
},
252252
heading: "Whooping cough vaccination in pregnancy",
253-
cardLinkTitle: "Whooping cough vaccination in pregnancy",
253+
cardLinkTitle: "Whooping cough (pertussis) in pregnancy",
254254
nhsWebpageLink: new URL("https://www.nhs.uk/pregnancy/keeping-well/whooping-cough-vaccination/"),
255255
nhsHowToGetWebpageLink: new URL(
256256
"https://www.nhs.uk/pregnancy/keeping-well/whooping-cough-vaccination/#how-to-get-it",

0 commit comments

Comments
 (0)