File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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-
1512const 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
You can’t perform that action at this time.
0 commit comments