Skip to content

Commit bbdb10f

Browse files
VIA-304 SB Correct Whooping Cough vaccine page link text.
1 parent 1b80811 commit bbdb10f

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

e2e/general/navigation.spec.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,11 @@ test.describe("Navigation", () => {
3030
{ section: AgeSectionTestId.ADULTS, linkText: "Shingles", pageName: "shingles" },
3131
{ section: AgeSectionTestId.ADULTS, linkText: "Pneumococcal", pageName: "pneumococcal" },
3232

33-
{ section: AgeSectionTestId.PREGNANCY, linkText: "Whooping cough (pertussis)", pageName: "whooping-cough" },
33+
{
34+
section: AgeSectionTestId.PREGNANCY,
35+
linkText: "Whooping cough vaccination in pregnancy",
36+
pageName: "whooping-cough",
37+
},
3438
{ section: AgeSectionTestId.PREGNANCY, linkText: "RSV in pregnancy", pageName: "rsv-pregnancy" },
3539

3640
{ section: AgeSectionTestId.CHILDREN, linkText: "Td/IPV (3-in-1 teenage booster)", pageName: "td-ipv" },

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 (pertussis)",
49+
"Whooping cough vaccination 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 (pertussis)",
253+
cardLinkTitle: "Whooping cough vaccination 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)