import { expect, type Page } from '@playwright/test'; import { BasePage } from './BasePage'; import { step } from 'framework/localTypes/Step'; import { TestSuccessAlert } from 'safelite-playwright-core'; import { ITestData } from 'framework/TestData'; export class PolicyInfoPage extends BasePage { constructor(page: Page) { super(page); // TODO: Add locators for the page once the card is in test (CASH-2468) } @step("PolicyInfoPage >> Continue") async handleNewPolicyInfoPage(testData: Partial): Promise { await expect(this.page).toHaveURL(/\/fmg\/policy-info/); throw new TestSuccessAlert('Policy info page validated successfully.'); } }