Clean up comment and step
This commit is contained in:
parent
beae88ebf2
commit
484077fa2f
1 changed files with 8 additions and 20 deletions
|
|
@ -163,11 +163,7 @@ test.describe.parallel('ISS QA Automation Regression', () => {
|
||||||
for (const testCase of essentialVehicleLookupBailoutTests) {
|
for (const testCase of essentialVehicleLookupBailoutTests) {
|
||||||
test(...prepareTest(testCase, run, options, ruleEngine)); //skipping this until SSR-2004 is fixed
|
test(...prepareTest(testCase, run, options, ruleEngine)); //skipping this until SSR-2004 is fixed
|
||||||
}
|
}
|
||||||
//Scenario 21
|
// Scenario 22
|
||||||
//for (const testCase of essentialPriceServiceErrorBailoutTests) {
|
|
||||||
// test(...prepareTest(testCase, run, options, ruleEngine));
|
|
||||||
//}
|
|
||||||
//Scenario 22
|
|
||||||
for (const testCase of essentialServiceableBigTruckTestCases) {
|
for (const testCase of essentialServiceableBigTruckTestCases) {
|
||||||
test(...prepareTest(testCase, run, options, ruleEngine));
|
test(...prepareTest(testCase, run, options, ruleEngine));
|
||||||
}
|
}
|
||||||
|
|
@ -696,8 +692,13 @@ async function runWorkflow(page: Page, testCase: TestCase) {
|
||||||
if (hasOemEndorsement) {
|
if (hasOemEndorsement) {
|
||||||
await coverageStatementPage.validateOEMBullet();
|
await coverageStatementPage.validateOEMBullet();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (isUseVehicleFromAddressLookup) {
|
||||||
|
await coverageStatementPage.handleUnverifiedPolicyAfterVehicleLookupFlow();
|
||||||
|
}
|
||||||
|
|
||||||
// For essential/unverified flows
|
// For essential/unverified flows
|
||||||
if (!isPolicyFound) {
|
if (!isPolicyFound && !isUseVehicleFromAddressLookup) {
|
||||||
await coverageStatementPage.handleUnverifiedFlow(claimDetails!);
|
await coverageStatementPage.handleUnverifiedFlow(claimDetails!);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -726,10 +727,6 @@ async function runWorkflow(page: Page, testCase: TestCase) {
|
||||||
await coverageStatementPage.handleUnverifiedPolicyAfterVehicleLookupFlow();
|
await coverageStatementPage.handleUnverifiedPolicyAfterVehicleLookupFlow();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isUseVehicleFromAddressLookup) {
|
|
||||||
await coverageStatementPage.handleUnverifiedPolicyAfterVehicleLookupFlow();
|
|
||||||
}
|
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -800,20 +797,11 @@ async function runWorkflow(page: Page, testCase: TestCase) {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
// TPA Flow
|
||||||
if (!isPolicyFound || !(isItac || isNoComp) || isUnverifiedPolicyAfterVehicleLookup) {
|
if (!isPolicyFound || !(isItac || isNoComp) || isUnverifiedPolicyAfterVehicleLookup) {
|
||||||
|
|
||||||
|
|
||||||
if (!isSafelite) {
|
if (!isSafelite) {
|
||||||
if (testCase.testData!.clientTag == '05CC1609-3631-4044-B45A-E78E13343B9A') { // Avoiding TPA flow for Federated Insureance due to Defect# SSR-1984 //Temporary fix until Defect# SSR-1984 is addressed.
|
|
||||||
await test.step('***** Performing Safelite flow for Federal Insurance due to defec# SSR-1984 *****', async () => { });
|
|
||||||
await test.step('TpaSearchPage >> TPA Search', async () => {
|
|
||||||
await tpaSearchPage.validateURL(tpaSearchPage.issPageValue);
|
|
||||||
await tpaSearchPage.selectFirstLocation();
|
|
||||||
// await tpaSearchPage.nextPage();
|
|
||||||
});
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (isTpaNotEnabledBailout) {
|
if (isTpaNotEnabledBailout) {
|
||||||
await test.step('validateBailoutDetails >> Bailout code : ' + BailoutCode.TPANotEnabled, async () => {
|
await test.step('validateBailoutDetails >> Bailout code : ' + BailoutCode.TPANotEnabled, async () => {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue