DigitalConsumer.FixMyGlass/playwright-tests/pages/RecalibrationInfoPage.ts

20 lines
No EOL
624 B
TypeScript

import { Locator, Page } from "@playwright/test";
import { InsuranceBasePage } from "./InsuranceBasePage";
import { step } from "@business-logic/types/Step";
export default class RecalibrationInfoPage extends InsuranceBasePage {
url = process.env['BASE_URL']! + '/FixMyGlass/RecalibrationInfo.aspx';
readonly continueButton: Locator;
constructor(page: Page) {
super(page);
this.continueButton = page.getByRole('button', { name: 'Continue' });
}
@step("RecalibrationInfoPage >> Click continue button: ")
async handleRecalibrationInfoPage() {
await this.nextPage();
}
}