Add alternate mobile address method

This commit is contained in:
JennyNou 2026-03-25 09:46:05 -04:00
parent 8341db4a58
commit 2c2d709691
2 changed files with 7 additions and 0 deletions

View file

@ -44,6 +44,8 @@ export interface IAppointmentDetails {
serviceAddress?: IAddress, // Used for mobile serviceAddress?: IAddress, // Used for mobile
isVehicleProtected?: boolean // Used for mobile isVehicleProtected?: boolean // Used for mobile
alternateServiceZip?: string // Used for in-shop and drop-off if doing service in a different ZIP alternateServiceZip?: string // Used for in-shop and drop-off if doing service in a different ZIP
alternateMobileCity?: string // Used for mobile if doing service in a different city then customers address
alternateMobileStreetAddress?: string // Used for mobile if doing service in a different street address then customers address
} }
export interface IPartQuestion { export interface IPartQuestion {

View file

@ -54,6 +54,11 @@ export class ContactDetailsPage extends BasePage {
await this.cityTextBox.fill(customerDetails.address.city!); await this.cityTextBox.fill(customerDetails.address.city!);
} }
async fillAlternateMobileStreetAndCity(alternateMobileStreetAddress: string, alternateMobileCity: string) {
await this.streetAddressTextBox.fill(alternateMobileStreetAddress);
await this.cityTextBox.fill(alternateMobileCity);
}
async fillNotes(notes?: string) { async fillNotes(notes?: string) {
if (notes) { if (notes) {
await this.notesTextBox.fill(notes); await this.notesTextBox.fill(notes);