Skip to content

Commit fd37412

Browse files
FIX TS/AS/DB Use updated NHS App jumpoff link in all environments
1 parent bed5776 commit fd37412

1 file changed

Lines changed: 1 addition & 9 deletions

File tree

e2e/auth.ts

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@ interface User {
99
vaccinationsHubUrl: string;
1010
}
1111

12-
// TODO: 17/03/2026; Remove after NHS App AOS (preprod) changes to "Check and book vaccinations"
13-
const environment = getEnv("DEPLOY_ENVIRONMENT");
14-
1512
const loadFakeAuthEnvironmentVariables = () => {
1613
return {
1714
fakeAppUsername: getEnv("TEST_NHS_APP_USERNAME"),
@@ -115,12 +112,7 @@ export const login = async (browser: Browser, nhsLoginUsername: string): Promise
115112

116113
const newTabPromise = page.context().waitForEvent("page");
117114

118-
// TODO: 17/03/2026; Remove conditional after NHS App AOS (preprod) changes to "Check and book vaccinations"
119-
if (environment === "dev") {
120-
await page.getByRole("link", { name: "Check and book vaccinations" }).click();
121-
} else {
122-
await page.getByRole("link", { name: "Check and book an RSV vaccination" }).click();
123-
}
115+
await page.getByRole("link", { name: "Check and book vaccinations" }).click();
124116

125117
const newTabPage = await newTabPromise;
126118

0 commit comments

Comments
 (0)