Remove bailout flag that is no longer valid
This commit is contained in:
parent
9e6fdf4707
commit
623c407357
3 changed files with 1 additions and 4 deletions
|
|
@ -1,6 +1,5 @@
|
|||
export default interface IBailoutFlags {
|
||||
isVehicleSelectBailout: boolean,
|
||||
isDoNotSeeMyShopBailout: boolean,
|
||||
isTpaNotEnabledBailout: boolean,
|
||||
isRequestCallbackBailout: boolean,
|
||||
isHeavyTruckVehicleBailout: boolean,
|
||||
|
|
|
|||
|
|
@ -16,7 +16,6 @@ const essentialDoNotSeeShopData: Partial<ITestData> = {
|
|||
partQuestions: undefined,
|
||||
isSafelite: false,
|
||||
bailoutFlags: {
|
||||
isDoNotSeeMyShopBailout: true
|
||||
},
|
||||
servicePackage: faker.helpers.enumValue(ServicePackage),
|
||||
customerDetails: {
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ const customerDetails: ICustomerDetails = {
|
|||
}
|
||||
}
|
||||
|
||||
const policyNumber = `~AutomatedScenario0026a${faker.string.uuid().substring(0, 6)}`;
|
||||
const policyNumber = `~AutomatedScenario0026a${crypto.randomUUID().replace(/-/g, '').slice(0, 16).toUpperCase()}`; // Ensure unique policy number for each test run since same key in request can cause 500 error
|
||||
const policySoap = MockPolicyData.getPolicySoapByScenario('0026a', customerDetails, policyNumber);
|
||||
|
||||
const advancedScenario0026aData: Partial<ITestData> = {
|
||||
|
|
@ -35,7 +35,6 @@ const advancedScenario0026aData: Partial<ITestData> = {
|
|||
isRecalNotification: true,
|
||||
endorsements: undefined,
|
||||
bailoutFlags: {
|
||||
isDoNotSeeMyShopBailout: true
|
||||
},
|
||||
vehiclePartQuestions: [
|
||||
],
|
||||
|
|
|
|||
Loading…
Reference in a new issue