DigitalConsumer.FixMyGlass/playwright-tests/pages/PolicyInfoPage.ts
2026-05-11 17:12:58 -04:00

18 lines
571 B
TypeScript

import { expect, type Page } from '@playwright/test';
import { BasePage } from './BasePage';
import { step } from 'framework/localTypes/Step';
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 handlePolicyInfoPage(testData: Partial<ITestData>): Promise<void> {
await expect(this.page).toHaveURL(/\/fmg\/policy-info/);
}
}