18 lines
571 B
TypeScript
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/);
|
|
}
|
|
}
|