From 7822a8939bffe32019c3d55e6bdbda35055c700f Mon Sep 17 00:00:00 2001 From: JeremyFriesenGitHub Date: Sat, 14 Dec 2024 20:50:48 -0500 Subject: [PATCH] fix(tools/risk-form-filler): hybrid form online section not filled --- .../pages/components/online-information.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/risk-form-filler/src/object-models/pages/components/online-information.component.ts b/tools/risk-form-filler/src/object-models/pages/components/online-information.component.ts index f4e77cc8..d707f925 100644 --- a/tools/risk-form-filler/src/object-models/pages/components/online-information.component.ts +++ b/tools/risk-form-filler/src/object-models/pages/components/online-information.component.ts @@ -48,7 +48,7 @@ export class OnlineInformation { } static async fill(page: Page, data: any): Promise { - if (page.url().includes('online')) { + if (page.url().includes('online') || page.url().includes('hybrid')) { await page.locator(`[name=online_platform]`).fill(data.onlinePlatform || '') await page.locator(`[name=online_topic]`).fill(data.onlineTopic || '') await page.locator(`[name=online_location]`).fill(data.onlineLocation || '')