Update flow for look up vin on alert
This commit is contained in:
parent
1dd31edb7a
commit
e3f0eb44c8
2 changed files with 2 additions and 6 deletions
|
|
@ -35,7 +35,7 @@ export class VinLookupPage extends BasePage {
|
|||
}
|
||||
}
|
||||
|
||||
async triggerBailout() {
|
||||
async returnToVehicleLookupPage() {
|
||||
await this.continueButton.click();
|
||||
await this.lookupVinForMe.click();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -573,11 +573,7 @@ async function runWorkflow(page: Page, testCase: TestCase) {
|
|||
});
|
||||
|
||||
await test.step('Click Invalid vin Link', async () => {
|
||||
await vinLookupPage.triggerBailout();
|
||||
});
|
||||
|
||||
await test.step('BailoutPage >> Validate Bailout-' + BailoutCode.VehicleNotFound, async () => {
|
||||
await bailoutPage.validateBailoutDetails(customerDetails!, BailoutCode.VehicleNotFound);
|
||||
await vinLookupPage.returnToVehicleLookupPage();
|
||||
});
|
||||
|
||||
return;
|
||||
|
|
|
|||
Loading…
Reference in a new issue