Files
eos/eos_automationTest/tests/pages/EndeavourosPage.ts
T
2026-05-14 21:21:45 +02:00

16 lines
437 B
TypeScript

import { expect, type Locator, type Page } from '@playwright/test';
export class EndeavourosPage {
readonly page: Page;
readonly url: string = "https://endeavouros.cz/endeavouros.php";
readonly mainHeading: Locator;
constructor(page: Page) {
this.page = page;
this.mainHeading = page.getByText('Minimální systémové požadavky pro EndeavourOS:');
}
async navigate() {
await this.page.goto(this.url);
}
}