Renamed big truck insurance test file

This commit is contained in:
Jenny Nou 2025-05-20 15:57:56 -04:00
parent 9c13fec5a2
commit 152043dfd9
2 changed files with 5 additions and 4 deletions

View file

@ -31,7 +31,7 @@ import cashRepairInShopAfterPayTests from "./CashRepairInShopAfterPay";
import cashRepairInShopPayPalTests from "./CashRepairInShopPayPal"; import cashRepairInShopPayPalTests from "./CashRepairInShopPayPal";
import cashReplaceMultiSlidingGlassDropoffTests from "./CashReplaceMultiSlidingGlassDropoff"; import cashReplaceMultiSlidingGlassDropoffTests from "./CashReplaceMultiSlidingGlassDropoff";
import cashReplaceMultiGlassMobileTests from "./CashReplaceMultiGlassMobile"; import cashReplaceMultiGlassMobileTests from "./CashReplaceMultiGlassMobile";
import insuranceBigTruckVerifiedTests from "./BigTruckInsuranceVerifiedFlow"; import insuranceBigTruckVerifiedTests from "./InsuranceBigTruckVerified";
/** /**
* Master Test Runner * Master Test Runner
@ -68,7 +68,7 @@ const allStandardTests = [
{name: "CashReplaceWiperPromoInshop", tests: cashReplaceWiperPromoInShopTests}, {name: "CashReplaceWiperPromoInshop", tests: cashReplaceWiperPromoInShopTests},
{name: "InsuranceAcuityPaypal", tests: insuranceAcuityPaypalTests}, {name: "InsuranceAcuityPaypal", tests: insuranceAcuityPaypalTests},
{name: "InsuranceITAC21stCentury", tests: insuranceITAC21stCenturyTests}, {name: "InsuranceITAC21stCentury", tests: insuranceITAC21stCenturyTests},
{name: "BigTruckInsuranceVerifiedFlow", tests: insuranceBigTruckVerifiedTests}, {name: "InsuranceBigTruckVerified", tests: insuranceBigTruckVerifiedTests},
// {name: "InsuranceGeico", tests: insuranceGeicoTests}, // {name: "InsuranceGeico", tests: insuranceGeicoTests},
// {name: "InsuranceITACOptimizedPriceValidationAllState", tests: insuranceITACOptimizedPriceValidationAllStateTests} // {name: "InsuranceITACOptimizedPriceValidationAllState", tests: insuranceITACOptimizedPriceValidationAllStateTests}

View file

@ -30,7 +30,7 @@ const insuranceBigTruckVerifiedData: Partial<ITestData> = {
...getDefaultTestData().customerDetails!.address, ...getDefaultTestData().customerDetails!.address,
city: 'Ontario', city: 'Ontario',
state: 'California', state: 'California',
postalCode: '55414' postalCode: '43085'
} }
}, },
@ -40,6 +40,7 @@ const insuranceBigTruckVerifiedData: Partial<ITestData> = {
client: 'USAA', client: 'USAA',
policyNumber: 'Mock900040BigTruck', policyNumber: 'Mock900040BigTruck',
policyDeductible: 2000.00, policyDeductible: 2000.00,
policyZip: '55414',
damageDate: new Date(new Date().setDate(new Date().getDate() - 1)).toLocaleDateString('en-US', {month: '2-digit', day: '2-digit', year: 'numeric'}), damageDate: new Date(new Date().setDate(new Date().getDate() - 1)).toLocaleDateString('en-US', {month: '2-digit', day: '2-digit', year: 'numeric'}),
damageCause: DamageType.Rock damageCause: DamageType.Rock
}, },
@ -60,7 +61,7 @@ const insuranceBigTruckVerifiedData: Partial<ITestData> = {
// Override for in-shop appointment // Override for in-shop appointment
appointmentDetails: { appointmentDetails: {
serviceLocation: AppointmentType.InShop, serviceLocation: AppointmentType.InShop,
shopAddress: '504 Malcolm Ave Se, Minneapolis, MN 55414', shopAddress: '5719 Brandt Pike, Dayton, OH 45424',
appointmentDate: getDefaultTestData().appointmentDetails?.appointmentDate appointmentDate: getDefaultTestData().appointmentDetails?.appointmentDate
}, },