Sets up the core infrastructure for Playwright-based automated testing, including: - Docker support for consistent environments - Azure Pipelines configuration for CI/CD - Page Object Model structure for maintainable tests - Test data, validation, and rule engine implementation - Test configuration for alerts and other scenarios
20 lines
No EOL
624 B
TypeScript
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();
|
|
}
|
|
} |