From 0a6e19ac185fd3e4b39c4eadd38be09e21c661ef Mon Sep 17 00:00:00 2001 From: JennyNou <167806377+JennyNou@users.noreply.github.com> Date: Tue, 21 Apr 2026 15:00:36 -0400 Subject: [PATCH] Update assertion for drop off appointments --- playwright-tests/pages/OrderConfirmationPage.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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');