Files
eos_test/tests/pages/EndeavourosPage.ts
T
kankys e67a4a1edf
Playwright Tests / test (push) Successful in 5m57s
first test
2026-05-02 22:34:21 +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);
}
}