Update bailout test step to include bailout success page
This commit is contained in:
parent
d73ce9ff85
commit
22e6c26233
1 changed files with 3 additions and 0 deletions
|
|
@ -281,6 +281,9 @@ async function runWorkflow(page: Page, testCase: TestCase) {
|
||||||
if (testCase.testData.bailoutFlags?.isVehicleLookupBailout) {
|
if (testCase.testData.bailoutFlags?.isVehicleLookupBailout) {
|
||||||
let bailoutPage = testCase.pages.bailoutPage;
|
let bailoutPage = testCase.pages.bailoutPage;
|
||||||
await bailoutPage.handleBailoutPage(testCase.testData);
|
await bailoutPage.handleBailoutPage(testCase.testData);
|
||||||
|
let bailoutSuccessPage = testCase.pages.bailoutSuccessPage;
|
||||||
|
await bailoutSuccessPage.handleBailoutSuccessPage();
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Handle part questions if applicable
|
// Handle part questions if applicable
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue