From e3f0eb44c88a935dd8f47a946593ae0586954794 Mon Sep 17 00:00:00 2001 From: JennyNou Date: Wed, 8 Apr 2026 09:45:18 -0400 Subject: [PATCH] Update flow for look up vin on alert --- playwright-tests/pages/VinLookupPage.ts | 2 +- playwright-tests/tests/0000__M.test.ts | 6 +----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/playwright-tests/pages/VinLookupPage.ts b/playwright-tests/pages/VinLookupPage.ts index 825b37bd..39257997 100644 --- a/playwright-tests/pages/VinLookupPage.ts +++ b/playwright-tests/pages/VinLookupPage.ts @@ -35,7 +35,7 @@ export class VinLookupPage extends BasePage { } } - async triggerBailout() { + async returnToVehicleLookupPage() { await this.continueButton.click(); await this.lookupVinForMe.click(); } diff --git a/playwright-tests/tests/0000__M.test.ts b/playwright-tests/tests/0000__M.test.ts index b7c69e7d..c579734f 100644 --- a/playwright-tests/tests/0000__M.test.ts +++ b/playwright-tests/tests/0000__M.test.ts @@ -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;