Adds managed flow to insurance test data
Adds the `Managed` flow type to the insurance test data. Specifies an empty payment details object for the insurance flow to skip the payment method page.
This commit is contained in:
parent
a515fece15
commit
dd7d0221aa
2 changed files with 6 additions and 2 deletions
|
|
@ -16,6 +16,7 @@ const insuranceMeemicNearSchoolVerifiedData: Partial<ITestData> = {
|
||||||
paymentMethod: PaymentMethod.Insurance,
|
paymentMethod: PaymentMethod.Insurance,
|
||||||
|
|
||||||
isDuplicateClaim: false,
|
isDuplicateClaim: false,
|
||||||
|
flow: Flow.Managed,
|
||||||
isPolicyFound: true,
|
isPolicyFound: true,
|
||||||
isUseVehicleOnPolicy: true,
|
isUseVehicleOnPolicy: true,
|
||||||
isRecalVehicle: false,
|
isRecalVehicle: false,
|
||||||
|
|
@ -58,7 +59,10 @@ const insuranceMeemicNearSchoolVerifiedData: Partial<ITestData> = {
|
||||||
isOnPage: true,
|
isOnPage: true,
|
||||||
optionToSelect: 'No'
|
optionToSelect: 'No'
|
||||||
},
|
},
|
||||||
]
|
],
|
||||||
|
|
||||||
|
// Override payment details (empty because we skip payment method page in insurance flow)
|
||||||
|
paymentDetails: {}
|
||||||
};
|
};
|
||||||
|
|
||||||
const insuranceMeemicNearSchoolVerifiedTests: ITestCase[] = [];
|
const insuranceMeemicNearSchoolVerifiedTests: ITestCase[] = [];
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue