Update test data for scenarios
This commit is contained in:
parent
5c22d0ba31
commit
3fe2e23959
20 changed files with 71 additions and 94 deletions
|
|
@ -25,7 +25,7 @@ const essentialReplaceDynamicAdasData: Partial<ITestData> = {
|
||||||
address: {
|
address: {
|
||||||
street: faker.location.streetAddress(),
|
street: faker.location.streetAddress(),
|
||||||
city: 'Chicago',
|
city: 'Chicago',
|
||||||
state: 'Illinois',
|
state: 'ILLINOIS',
|
||||||
postalCode: '60645',
|
postalCode: '60645',
|
||||||
country: 'United States'
|
country: 'United States'
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -23,9 +23,9 @@ const essentialRepairMobileHyundaiData: Partial<ITestData> = {
|
||||||
phoneNumber: faker.helpers.fromRegExp(/[2-9][0-9][0-9]-[0-9][0-9][0-9]-[0-9][0-9][0-9][0-9]/),
|
phoneNumber: faker.helpers.fromRegExp(/[2-9][0-9][0-9]-[0-9][0-9][0-9]-[0-9][0-9][0-9][0-9]/),
|
||||||
notes: 'Automated Test',
|
notes: 'Automated Test',
|
||||||
address: {
|
address: {
|
||||||
street: faker.location.streetAddress(),
|
street: '9220 Pennythorne Court',
|
||||||
city: 'Raleigh',
|
city: 'Raleigh',
|
||||||
state: 'North Carolina',
|
state: 'NORTH CAROLINA',
|
||||||
postalCode: '27615',
|
postalCode: '27615',
|
||||||
country: 'United States'
|
country: 'United States'
|
||||||
}
|
}
|
||||||
|
|
@ -49,7 +49,7 @@ const essentialRepairMobileHyundaiData: Partial<ITestData> = {
|
||||||
appointmentDetails: {
|
appointmentDetails: {
|
||||||
serviceLocation: ServiceLocation.Mobile,
|
serviceLocation: ServiceLocation.Mobile,
|
||||||
serviceAddress: {
|
serviceAddress: {
|
||||||
street: "2088 Haviland Road, Columbus, OH, USA",
|
street: "2088 Haviland Road",
|
||||||
city:"Vermillion",
|
city:"Vermillion",
|
||||||
state: "Ohio",
|
state: "Ohio",
|
||||||
postalCode: "44089",
|
postalCode: "44089",
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,7 @@ const essentialPartsServiceErrorData: Partial<ITestData> = {
|
||||||
address: {
|
address: {
|
||||||
street: faker.location.streetAddress(),
|
street: faker.location.streetAddress(),
|
||||||
city: 'Tulare',
|
city: 'Tulare',
|
||||||
state: 'California',
|
state: 'CALIFORNIA',
|
||||||
postalCode: '93247',
|
postalCode: '93247',
|
||||||
country: 'United States'
|
country: 'United States'
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -26,9 +26,9 @@ const essentialVehicleNotFoundData: Partial<ITestData> = {
|
||||||
phoneNumber: faker.helpers.fromRegExp(/[2-9][0-9][0-9]-[0-9][0-9][0-9]-[0-9][0-9][0-9][0-9]/),
|
phoneNumber: faker.helpers.fromRegExp(/[2-9][0-9][0-9]-[0-9][0-9][0-9]-[0-9][0-9][0-9][0-9]/),
|
||||||
notes: 'Automated Test',
|
notes: 'Automated Test',
|
||||||
address: {
|
address: {
|
||||||
street: faker.location.streetAddress(),
|
street: '71529 Maple Street',
|
||||||
city: 'Dublin',
|
city: 'Dublin',
|
||||||
state: 'Ohio',
|
state: 'OHIO',
|
||||||
postalCode: '43016',
|
postalCode: '43016',
|
||||||
country: 'United States'
|
country: 'United States'
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -25,9 +25,9 @@ const essentialDoNotSeeShopData: Partial<ITestData> = {
|
||||||
phoneNumber: faker.helpers.fromRegExp(/[2-9][0-9][0-9]-[0-9][0-9][0-9]-[0-9][0-9][0-9][0-9]/),
|
phoneNumber: faker.helpers.fromRegExp(/[2-9][0-9][0-9]-[0-9][0-9][0-9]-[0-9][0-9][0-9][0-9]/),
|
||||||
notes: 'Automated Test',
|
notes: 'Automated Test',
|
||||||
address: {
|
address: {
|
||||||
street: faker.location.streetAddress(),
|
street: '9799 Heartland Court',
|
||||||
city: 'Dublin',
|
city: 'Dublin',
|
||||||
state: 'Ohio',
|
state: 'OHIO',
|
||||||
postalCode: '43016',
|
postalCode: '43016',
|
||||||
country: 'United States'
|
country: 'United States'
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -22,9 +22,9 @@ const essentialUnqiqueGlassData: Partial<ITestData> = {
|
||||||
phoneNumber: faker.helpers.fromRegExp(/[2-9][0-9][0-9]-[0-9][0-9][0-9]-[0-9][0-9][0-9][0-9]/),
|
phoneNumber: faker.helpers.fromRegExp(/[2-9][0-9][0-9]-[0-9][0-9][0-9]-[0-9][0-9][0-9][0-9]/),
|
||||||
notes: 'Automated Test',
|
notes: 'Automated Test',
|
||||||
address: {
|
address: {
|
||||||
street: faker.location.streetAddress(),
|
street: '3202 S Mason Ave',
|
||||||
city: 'Tacoma',
|
city: 'Tacoma',
|
||||||
state: 'Washington',
|
state: 'WASHINGTON',
|
||||||
postalCode: '98409',
|
postalCode: '98409',
|
||||||
country: 'United States'
|
country: 'United States'
|
||||||
}
|
}
|
||||||
|
|
@ -51,13 +51,12 @@ const essentialUnqiqueGlassData: Partial<ITestData> = {
|
||||||
{
|
{
|
||||||
partQuestionType: PartQuestionType.WindshieldColor,
|
partQuestionType: PartQuestionType.WindshieldColor,
|
||||||
isOnPage: true,
|
isOnPage: true,
|
||||||
optionToSelect: 'Green Tint'
|
optionToSelect: 'Third Visor Frit'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
partQuestionType: PartQuestionType.DriverSideColor,
|
partQuestionType: PartQuestionType.DriverSideColor,
|
||||||
isOnPage: true,
|
isOnPage: true,
|
||||||
optionToSelect: 'Green Tint',
|
optionToSelect: 'Solar, Driver side, Rear, Movable, Exc. 118" Wb, Aftermarket'
|
||||||
secondaryQuestionOptionToSelect: 'solar, driver side, rear'
|
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
appointmentDetails: {
|
appointmentDetails: {
|
||||||
|
|
|
||||||
|
|
@ -13,46 +13,20 @@ const essentialReplaceData: Partial<ITestData> = {
|
||||||
isPolicyFound: false,
|
isPolicyFound: false,
|
||||||
endorsements: [],
|
endorsements: [],
|
||||||
isReplace: false,
|
isReplace: false,
|
||||||
vehiclePartQuestions: [
|
partQuestions: [],
|
||||||
{
|
|
||||||
partQuestionType: PartQuestionType.WindshieldColor,
|
|
||||||
isOnPage: true,
|
|
||||||
optionToSelect: 'Green Tint'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
partQuestionType: PartQuestionType.DriverFrontColor,
|
|
||||||
isOnPage: true,
|
|
||||||
optionToSelect: 'Green Tint'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
partQuestionType: PartQuestionType.DriverRearColor,
|
|
||||||
isOnPage: true,
|
|
||||||
optionToSelect: 'Green Tint'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
partQuestionType: PartQuestionType.PassengerFrontColor,
|
|
||||||
isOnPage: true,
|
|
||||||
optionToSelect: 'Green Tint'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
partQuestionType: PartQuestionType.PassengerRearColor,
|
|
||||||
isOnPage: true,
|
|
||||||
optionToSelect: 'Green Tint'
|
|
||||||
},
|
|
||||||
],
|
|
||||||
isSafelite: true,
|
isSafelite: true,
|
||||||
servicePackage: faker.helpers.enumValue(ServicePackage),
|
servicePackage: faker.helpers.enumValue(ServicePackage),
|
||||||
customerDetails: {
|
customerDetails: {
|
||||||
firstName: faker.person.firstName(),
|
firstName: faker.person.firstName(),
|
||||||
lastName: 'Reed',
|
lastName: 'Tyler',
|
||||||
email: "itqatest@safelite.com",
|
email: "itqatest@safelite.com",
|
||||||
phoneNumber: faker.helpers.fromRegExp(/[2-9][0-9][0-9]-[0-9][0-9][0-9]-[0-9][0-9][0-9][0-9]/),
|
phoneNumber: faker.helpers.fromRegExp(/[2-9][0-9][0-9]-[0-9][0-9][0-9]-[0-9][0-9][0-9][0-9]/),
|
||||||
notes: 'Automated Test',
|
notes: 'Automated Test',
|
||||||
address: {
|
address: {
|
||||||
street: '10212 JEWEL CT',// DO NOT use fake address here as this scenario search vehicle by address //faker.location.streetAddress(),
|
street: '503 OLD CHATTANOOGA PIKE SW CLEVELAND',// DO NOT use fake address here as this scenario search vehicle by address //faker.location.streetAddress(),
|
||||||
city: 'CONROE',
|
city: 'Cleveland',
|
||||||
state: 'Texas',
|
state: 'TENNESSEE',
|
||||||
postalCode: '77385',
|
postalCode: '37311',
|
||||||
country: 'United States'
|
country: 'United States'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
@ -63,11 +37,10 @@ const essentialReplaceData: Partial<ITestData> = {
|
||||||
damageCause: DamageType.Other
|
damageCause: DamageType.Other
|
||||||
},
|
},
|
||||||
vehicleDetails: {
|
vehicleDetails: {
|
||||||
year: '2015',
|
year: '2010',
|
||||||
make: 'Ford',
|
make: 'Lincoln',
|
||||||
model: 'F Series F150',
|
model: 'MKZ',
|
||||||
style: '2 door super cab',
|
style: '4 door sedan',
|
||||||
vin: '5N1AN0NW9BC524974',
|
|
||||||
vehicleLookupType: VehicleLookupType.Address,
|
vehicleLookupType: VehicleLookupType.Address,
|
||||||
},
|
},
|
||||||
vehicleDamage: [
|
vehicleDamage: [
|
||||||
|
|
|
||||||
|
|
@ -23,9 +23,9 @@ const essentialRepairMobileData: Partial<ITestData> = {
|
||||||
phoneNumber: faker.helpers.fromRegExp(/[2-9][0-9][0-9]-[0-9][0-9][0-9]-[0-9][0-9][0-9][0-9]/),
|
phoneNumber: faker.helpers.fromRegExp(/[2-9][0-9][0-9]-[0-9][0-9][0-9]-[0-9][0-9][0-9][0-9]/),
|
||||||
notes: 'Automated Test',
|
notes: 'Automated Test',
|
||||||
address: {
|
address: {
|
||||||
street: faker.location.streetAddress(),
|
street: '123 Test Road',
|
||||||
city: 'Dublin',
|
city: 'Columbus',
|
||||||
state: 'Ohio',
|
state: 'OHIO',
|
||||||
postalCode: '43016',
|
postalCode: '43016',
|
||||||
country: 'United States'
|
country: 'United States'
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@ const essentialReplaceData: Partial<ITestData> = {
|
||||||
{
|
{
|
||||||
partQuestionType: PartQuestionType.WindshieldColor,
|
partQuestionType: PartQuestionType.WindshieldColor,
|
||||||
isOnPage: true,
|
isOnPage: true,
|
||||||
optionToSelect: 'Green Tint, Blue Shade'
|
optionToSelect: 'Solar'
|
||||||
},
|
},
|
||||||
// {
|
// {
|
||||||
// partQuestionType: PartQuestionType.DriverFrontColor,
|
// partQuestionType: PartQuestionType.DriverFrontColor,
|
||||||
|
|
@ -35,10 +35,9 @@ const essentialReplaceData: Partial<ITestData> = {
|
||||||
phoneNumber: faker.helpers.fromRegExp(/[2-9][0-9][0-9]-[0-9][0-9][0-9]-[0-9][0-9][0-9][0-9]/),
|
phoneNumber: faker.helpers.fromRegExp(/[2-9][0-9][0-9]-[0-9][0-9][0-9]-[0-9][0-9][0-9][0-9]/),
|
||||||
notes: 'Automated Test',
|
notes: 'Automated Test',
|
||||||
address: {
|
address: {
|
||||||
// street: faker.location.streetAddress(),
|
street: '1000 Hart Road',
|
||||||
street: '456 Columbus Pike',
|
city: 'Columbus',
|
||||||
city: 'Dublin',
|
state: 'OHIO',
|
||||||
state: 'Ohio',
|
|
||||||
postalCode: '43223',
|
postalCode: '43223',
|
||||||
country: 'United States'
|
country: 'United States'
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -23,9 +23,9 @@ const essentialHappyPathData: Partial<ITestData> = {
|
||||||
phoneNumber: faker.helpers.fromRegExp(/[2-9][0-9][0-9]-[0-9][0-9][0-9]-[0-9][0-9][0-9][0-9]/),
|
phoneNumber: faker.helpers.fromRegExp(/[2-9][0-9][0-9]-[0-9][0-9][0-9]-[0-9][0-9][0-9][0-9]/),
|
||||||
notes: 'Automated Test',
|
notes: 'Automated Test',
|
||||||
address: {
|
address: {
|
||||||
street: faker.location.streetAddress(),
|
street: '6400 Emerald Parkway',
|
||||||
city: 'Dublin',
|
city: 'Dublin',
|
||||||
state: 'Ohio',
|
state: 'OHIO',
|
||||||
postalCode: '43016',
|
postalCode: '43016',
|
||||||
country: 'United States'
|
country: 'United States'
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -26,13 +26,11 @@ const essentialTpaEnabledData: Partial<ITestData> = {
|
||||||
lastName: faker.person.lastName(),
|
lastName: faker.person.lastName(),
|
||||||
email: "itqatest@safelite.com",
|
email: "itqatest@safelite.com",
|
||||||
phoneNumber: faker.helpers.fromRegExp(/[2-9][0-9][0-9]-[0-9][0-9][0-9]-[0-9][0-9][0-9][0-9]/),
|
phoneNumber: faker.helpers.fromRegExp(/[2-9][0-9][0-9]-[0-9][0-9][0-9]-[0-9][0-9][0-9][0-9]/),
|
||||||
// phoneNumber: faker.phone.toString(),
|
|
||||||
notes: 'Automated Test',
|
notes: 'Automated Test',
|
||||||
address: {
|
address: {
|
||||||
// street: faker.location.streetAddress(),
|
street: '3300 Refugee Rd',
|
||||||
street: '134 Woodlands Place',
|
|
||||||
city: 'Dublin',
|
city: 'Dublin',
|
||||||
state: 'Ohio',
|
state: 'OHIO',
|
||||||
postalCode: '43232',
|
postalCode: '43232',
|
||||||
country: 'United States'
|
country: 'United States'
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -30,10 +30,9 @@ const essentialTpaEnabledData: Partial<ITestData> = {
|
||||||
// phoneNumber: faker.phone.toString(),
|
// phoneNumber: faker.phone.toString(),
|
||||||
notes: 'Automated Test',
|
notes: 'Automated Test',
|
||||||
address: {
|
address: {
|
||||||
// street: faker.location.streetAddress(),
|
street: '1st St S',
|
||||||
street: '134 Woodlands Place',
|
|
||||||
city: 'Jacksonville Beach',
|
city: 'Jacksonville Beach',
|
||||||
state: 'Florida',
|
state: 'FLORIDA',
|
||||||
postalCode: '32250',
|
postalCode: '32250',
|
||||||
country: 'United States'
|
country: 'United States'
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -26,9 +26,9 @@ const essentialVehicleLookupBailoutData: Partial<ITestData> = {
|
||||||
phoneNumber: faker.helpers.fromRegExp(/[2-9][0-9][0-9]-[0-9][0-9][0-9]-[0-9][0-9][0-9][0-9]/),
|
phoneNumber: faker.helpers.fromRegExp(/[2-9][0-9][0-9]-[0-9][0-9][0-9]-[0-9][0-9][0-9][0-9]/),
|
||||||
notes: 'Automated Test',
|
notes: 'Automated Test',
|
||||||
address: {
|
address: {
|
||||||
street: faker.location.streetAddress(),
|
street: '6400 Emerald Parkway',
|
||||||
city: 'Dublin',
|
city: 'Dublin',
|
||||||
state: 'Ohio',
|
state: 'OHIO',
|
||||||
postalCode: '43016',
|
postalCode: '43016',
|
||||||
country: 'United States'
|
country: 'United States'
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -26,9 +26,9 @@ const essentialPriceServiceErrorBailoutData: Partial<ITestData> = {
|
||||||
phoneNumber: faker.helpers.fromRegExp(/[2-9][0-9][0-9]-[0-9][0-9][0-9]-[0-9][0-9][0-9][0-9]/),
|
phoneNumber: faker.helpers.fromRegExp(/[2-9][0-9][0-9]-[0-9][0-9][0-9]-[0-9][0-9][0-9][0-9]/),
|
||||||
notes: 'Automated Test',
|
notes: 'Automated Test',
|
||||||
address: {
|
address: {
|
||||||
street: faker.location.streetAddress(),
|
street: '9799 Heartland Court',
|
||||||
city: 'Dublin',
|
city: 'Dublin',
|
||||||
state: 'Ohio',
|
state: 'OHIO',
|
||||||
postalCode: '43016',
|
postalCode: '43016',
|
||||||
country: 'United States'
|
country: 'United States'
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -13,12 +13,14 @@ const essentialServiceableBigTruckData: Partial<ITestData> = {
|
||||||
isPolicyFound: false,
|
isPolicyFound: false,
|
||||||
endorsements: [],
|
endorsements: [],
|
||||||
isReplace: true,
|
isReplace: true,
|
||||||
|
bailoutFlags: {
|
||||||
|
isHeavyTruckVehicleBailout: true,
|
||||||
|
},
|
||||||
vehiclePartQuestions: [
|
vehiclePartQuestions: [
|
||||||
{
|
{
|
||||||
partQuestionType: PartQuestionType.WindshieldColor,
|
partQuestionType: PartQuestionType.WindshieldColor,
|
||||||
isOnPage: true,
|
isOnPage: true,
|
||||||
optionToSelect: 'Green Tint',
|
optionToSelect: 'One-Piece, With Lane Departure Warning System',
|
||||||
secondaryQuestionOptionToSelect: 'one-piece, w/lane departure warning system',
|
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
isSafelite: true,
|
isSafelite: true,
|
||||||
|
|
@ -30,9 +32,9 @@ const essentialServiceableBigTruckData: Partial<ITestData> = {
|
||||||
phoneNumber: faker.helpers.fromRegExp(/[2-9][0-9][0-9]-[0-9]{3}-[0-9]{4}/),
|
phoneNumber: faker.helpers.fromRegExp(/[2-9][0-9][0-9]-[0-9]{3}-[0-9]{4}/),
|
||||||
notes: 'Automated Test',
|
notes: 'Automated Test',
|
||||||
address: {
|
address: {
|
||||||
street: faker.location.streetAddress(),
|
street: '9799 Heartland Court',
|
||||||
city: 'Dublin',
|
city: 'Dublin',
|
||||||
state: 'Ohio',
|
state: 'OHIO',
|
||||||
postalCode: '43016',
|
postalCode: '43016',
|
||||||
country: 'United States'
|
country: 'United States'
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -11,6 +11,10 @@ const essentialNonServiceableBigTruckData: Partial<ITestData> = {
|
||||||
clientTag: 'ALL_ESSENTIAL',
|
clientTag: 'ALL_ESSENTIAL',
|
||||||
isDuplicateClaim: false,
|
isDuplicateClaim: false,
|
||||||
isPolicyFound: false,
|
isPolicyFound: false,
|
||||||
|
isNonServiceable: true,
|
||||||
|
bailoutFlags: {
|
||||||
|
isHeavyTruckVehicleBailout: true,
|
||||||
|
},
|
||||||
endorsements: [],
|
endorsements: [],
|
||||||
isReplace: true,
|
isReplace: true,
|
||||||
partQuestions: undefined,
|
partQuestions: undefined,
|
||||||
|
|
@ -23,9 +27,9 @@ const essentialNonServiceableBigTruckData: Partial<ITestData> = {
|
||||||
phoneNumber: faker.helpers.fromRegExp(/[2-9][0-9][0-9]-[0-9]{3}-[0-9]{4}/),
|
phoneNumber: faker.helpers.fromRegExp(/[2-9][0-9][0-9]-[0-9]{3}-[0-9]{4}/),
|
||||||
notes: 'Automated Test',
|
notes: 'Automated Test',
|
||||||
address: {
|
address: {
|
||||||
street: faker.location.streetAddress(),
|
street: '9799 Heartland Court',
|
||||||
city: 'Dublin',
|
city: 'Dublin',
|
||||||
state: 'Ohio',
|
state: 'OHIO',
|
||||||
postalCode: '43016',
|
postalCode: '43016',
|
||||||
country: 'United States'
|
country: 'United States'
|
||||||
}
|
}
|
||||||
|
|
@ -50,8 +54,6 @@ const essentialNonServiceableBigTruckData: Partial<ITestData> = {
|
||||||
shopAddress: '6826 Sawmill Rd, Columbus, OH 43235',
|
shopAddress: '6826 Sawmill Rd, Columbus, OH 43235',
|
||||||
appointmentDate: nextWeekday
|
appointmentDate: nextWeekday
|
||||||
},
|
},
|
||||||
isNonServiceable: true,
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
const essentialClients = ClientData.getEssentialClients();
|
const essentialClients = ClientData.getEssentialClients();
|
||||||
|
|
|
||||||
|
|
@ -13,26 +13,31 @@ const essentialNonServiceableBigTruckVinData: Partial<ITestData> = {
|
||||||
isPolicyFound: false,
|
isPolicyFound: false,
|
||||||
endorsements: [],
|
endorsements: [],
|
||||||
isReplace: true,
|
isReplace: true,
|
||||||
|
isNonServiceable: true,
|
||||||
|
bailoutFlags: {
|
||||||
|
isHeavyTruckVehicleBailout: true,
|
||||||
|
isBailoutAfterVinLookup: true,
|
||||||
|
},
|
||||||
vehiclePartQuestions: [
|
vehiclePartQuestions: [
|
||||||
{
|
{
|
||||||
partQuestionType: PartQuestionType.WindshieldColor,
|
partQuestionType: PartQuestionType.WindshieldColor,
|
||||||
isOnPage: true,
|
isOnPage: true,
|
||||||
optionToSelect: 'Green Tint',
|
optionToSelect: 'Green Tint',
|
||||||
secondaryQuestionOptionToSelect: 'one-piece, w/lane departure warning system',
|
secondaryQuestionOptionToSelect: 'One-Piece, With Lane Departure Warning System',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
isSafelite: true,
|
isSafelite: true,
|
||||||
servicePackage: faker.helpers.enumValue(ServicePackage),
|
servicePackage: faker.helpers.enumValue(ServicePackage),
|
||||||
customerDetails: {
|
customerDetails: {
|
||||||
firstName: faker.person.firstName(),
|
firstName: 'John',
|
||||||
lastName: faker.person.lastName(),
|
lastName: 'Doe',
|
||||||
email: "itqatest@safelite.com",
|
email: "itqatest@safelite.com",
|
||||||
phoneNumber: faker.helpers.fromRegExp(/[2-9][0-9][0-9]-[0-9]{3}-[0-9]{4}/),
|
phoneNumber: faker.helpers.fromRegExp(/[2-9][0-9][0-9]-[0-9]{3}-[0-9]{4}/),
|
||||||
notes: 'Automated Test',
|
notes: 'Automated Test',
|
||||||
address: {
|
address: {
|
||||||
street: faker.location.streetAddress(),
|
street: '9799 Heartland Court',
|
||||||
city: 'Dublin',
|
city: 'Dublin',
|
||||||
state: 'Ohio',
|
state: 'OHIO',
|
||||||
postalCode: '43016',
|
postalCode: '43016',
|
||||||
country: 'United States'
|
country: 'United States'
|
||||||
}
|
}
|
||||||
|
|
@ -48,7 +53,7 @@ const essentialNonServiceableBigTruckVinData: Partial<ITestData> = {
|
||||||
make: 'Freightliner',
|
make: 'Freightliner',
|
||||||
model: 'Cascadia',
|
model: 'Cascadia',
|
||||||
style: 'conventional cab',
|
style: 'conventional cab',
|
||||||
vin: 'JALB4T177G7W00847',
|
vin: '2G5ZJ2TZ4S9105926',
|
||||||
vehicleLookupType: VehicleLookupType.Vin,
|
vehicleLookupType: VehicleLookupType.Vin,
|
||||||
},
|
},
|
||||||
vehicleDamage: [
|
vehicleDamage: [
|
||||||
|
|
@ -59,7 +64,6 @@ const essentialNonServiceableBigTruckVinData: Partial<ITestData> = {
|
||||||
shopAddress: '6826 Sawmill Rd, Columbus, OH 43235',
|
shopAddress: '6826 Sawmill Rd, Columbus, OH 43235',
|
||||||
appointmentDate: nextWeekday
|
appointmentDate: nextWeekday
|
||||||
},
|
},
|
||||||
isNonServiceableVin: true,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
const essentialClients = ClientData.getEssentialClients();
|
const essentialClients = ClientData.getEssentialClients();
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@ const customerAddress: IAddress = {
|
||||||
street: faker.location.streetAddress(),
|
street: faker.location.streetAddress(),
|
||||||
city: 'Hamden',
|
city: 'Hamden',
|
||||||
state: 'CONNECTICUT',
|
state: 'CONNECTICUT',
|
||||||
postalCode: '06517',
|
postalCode: '06518',
|
||||||
country: 'United States'
|
country: 'United States'
|
||||||
}
|
}
|
||||||
const customerDetails: ICustomerDetails = {
|
const customerDetails: ICustomerDetails = {
|
||||||
|
|
@ -33,7 +33,7 @@ const advancedScenario0008Data: Partial<ITestData> = {
|
||||||
isDuplicateClaim: false,
|
isDuplicateClaim: false,
|
||||||
isPolicyFound: true,
|
isPolicyFound: true,
|
||||||
isNoComp: false,
|
isNoComp: false,
|
||||||
hasStateLawPopup: false,
|
hasStateLawPopup: true,
|
||||||
endorsements: undefined,
|
endorsements: undefined,
|
||||||
vehiclePartQuestions: [
|
vehiclePartQuestions: [
|
||||||
// {
|
// {
|
||||||
|
|
|
||||||
|
|
@ -15,10 +15,10 @@ const customerDetails: ICustomerDetails = {
|
||||||
phoneNumber: '614-531-0031',
|
phoneNumber: '614-531-0031',
|
||||||
notes: 'Automated Test',
|
notes: 'Automated Test',
|
||||||
address: {
|
address: {
|
||||||
street: faker.location.streetAddress(),
|
street: '15603 NE Tillamook S',
|
||||||
city: 'San Jose',
|
city: 'Portland',
|
||||||
state: 'CA',
|
state: 'OREGON',
|
||||||
postalCode: '97230-6373',
|
postalCode: '97230',
|
||||||
country: 'United States'
|
country: 'United States'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -32,7 +32,7 @@ const advancedScenario0021Data: Partial<ITestData> = {
|
||||||
isPolicyFound: true,
|
isPolicyFound: true,
|
||||||
isUnverifiedPolicyAfterVehicleLookup: true,
|
isUnverifiedPolicyAfterVehicleLookup: true,
|
||||||
isNoComp: false,
|
isNoComp: false,
|
||||||
hasStateLawPopup: true,
|
hasStateLawPopup: false,
|
||||||
endorsements: undefined,
|
endorsements: undefined,
|
||||||
isUseVehicleOnPolicy: false,
|
isUseVehicleOnPolicy: false,
|
||||||
isVehicleLookupValidations: true,
|
isVehicleLookupValidations: true,
|
||||||
|
|
|
||||||
|
|
@ -34,6 +34,7 @@ const advancedScenario0026aData: Partial<ITestData> = {
|
||||||
hasStateLawPopup: false,
|
hasStateLawPopup: false,
|
||||||
isRecalNotification: true,
|
isRecalNotification: true,
|
||||||
endorsements: undefined,
|
endorsements: undefined,
|
||||||
|
isRecalVehicle: true,
|
||||||
bailoutFlags: {
|
bailoutFlags: {
|
||||||
},
|
},
|
||||||
vehiclePartQuestions: [
|
vehiclePartQuestions: [
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue