99} from "@project/e2e/constants" ;
1010import { getEnv } from "@project/e2e/helpers" ;
1111
12+ const environment = getEnv ( "DEPLOY_ENVIRONMENT" ) ;
13+
1214const loadNBSAuthEnvironmentVariables = ( ) => {
1315 return {
1416 NBSUsername : getEnv ( "TEST_NBS_APP_USERNAME" ) ,
@@ -31,6 +33,11 @@ export const loginToNBS = async (browser: Browser) => {
3133
3234const testLinkToBookAppointmentForPregnantPeople = ( ) => {
3335 test ( "link to book appointment at pharmacy on RSV page for pregnant people" , async ( { browser } ) => {
36+ test . skip (
37+ environment === "preprod" ,
38+ "Temporarily skip in Preprod until NBS re-deploy changes required by VIA-335, eta 2025-10-08" ,
39+ ) ;
40+
3441 const { page, context } = await loginToNBS ( browser ) ;
3542
3643 await page . goto ( RSV_PREGNANCY_PAGE_URL ) ;
@@ -52,6 +59,11 @@ const testLinkToBookAppointmentForPregnantPeople = () => {
5259test . describe . configure ( { mode : "parallel" , retries : 0 } ) ;
5360
5461test . describe ( "NBS booking redirection - user 19" , ( ) => {
62+ test . skip (
63+ ( ) => environment === "preprod" ,
64+ "Temporarily skip in Preprod until NBS re-deploy changes required by VIA-335, eta 2025-10-08" ,
65+ ) ;
66+
5567 test . use ( { storageState : "./e2e/.auth/actionable-with-booking-link.json" } ) ;
5668
5769 test ( "link to book appointment at pharmacy on RSV page for older adults" , async ( { browser } ) => {
@@ -76,6 +88,11 @@ test.describe("NBS booking redirection - user 19", () => {
7688} ) ;
7789
7890test . describe ( "NBS booking redirection - user 21" , ( ) => {
91+ test . skip (
92+ ( ) => environment === "preprod" ,
93+ "Temporarily skip in Preprod until NBS re-deploy changes required by VIA-335, eta 2025-10-08" ,
94+ ) ;
95+
7996 test . use ( { storageState : "./e2e/.auth/actionable-with-booking-button.json" } ) ;
8097
8198 test ( "button to book appointment on RSV page" , async ( { browser } ) => {
@@ -100,6 +117,11 @@ test.describe("NBS booking redirection - user 21", () => {
100117} ) ;
101118
102119test . describe ( "NBS booking redirection - user 22" , ( ) => {
120+ test . skip (
121+ ( ) => environment === "preprod" ,
122+ "Temporarily skip in Preprod until NBS re-deploy changes required by VIA-335, eta 2025-10-08" ,
123+ ) ;
124+
103125 test . use ( { storageState : "./e2e/.auth/actionable-with-managing-button.json" } ) ;
104126
105127 test ( "button to manage the appointment on RSV page" , async ( { browser } ) => {
0 commit comments