Update flow for look up vin on alert

This commit is contained in:
JennyNou 2026-04-08 09:45:18 -04:00
parent 1dd31edb7a
commit e3f0eb44c8
2 changed files with 2 additions and 6 deletions

View file

@ -35,7 +35,7 @@ export class VinLookupPage extends BasePage {
}
}
async triggerBailout() {
async returnToVehicleLookupPage() {
await this.continueButton.click();
await this.lookupVinForMe.click();
}

View file

@ -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;