diff --git a/playwright-tests/pages/OrderConfirmationPage.ts b/playwright-tests/pages/OrderConfirmationPage.ts index 7ec6b4a0..128aa9cd 100644 --- a/playwright-tests/pages/OrderConfirmationPage.ts +++ b/playwright-tests/pages/OrderConfirmationPage.ts @@ -181,7 +181,7 @@ export class OrderConfirmationPage extends BasePage { const appointmentTypeValue = await this.appointmentTypeText.textContent(); const apptDetailsValue = await this.apptDetailsText.textContent(); - if (appointmentTypeValue?.includes('going to a Safelite shop') && apptDetailsValue?.includes('Drop off before 9:30 AM')) { + if (appointmentTypeValue?.includes('going to a Safelite shop') && apptDetailsValue?.includes('Drop off by 9:30 AM. Pick-up time dependent on shop schedule')) { expect.soft(appointmentType).toEqual('Dropoff'); } else if (appointmentTypeValue?.includes('going to a Safelite shop')) { expect.soft(appointmentType).toEqual('Inshop');