Add alternate mobile address method
This commit is contained in:
parent
8341db4a58
commit
2c2d709691
2 changed files with 7 additions and 0 deletions
|
|
@ -44,6 +44,8 @@ export interface IAppointmentDetails {
|
|||
serviceAddress?: IAddress, // Used for mobile
|
||||
isVehicleProtected?: boolean // Used for mobile
|
||||
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 {
|
||||
|
|
|
|||
|
|
@ -54,6 +54,11 @@ export class ContactDetailsPage extends BasePage {
|
|||
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) {
|
||||
if (notes) {
|
||||
await this.notesTextBox.fill(notes);
|
||||
|
|
|
|||
Loading…
Reference in a new issue