Update assertion for drop off appointments
This commit is contained in:
parent
b3b3c21d1c
commit
0a6e19ac18
1 changed files with 1 additions and 1 deletions
|
|
@ -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');
|
||||
|
|
|
|||
Loading…
Reference in a new issue