This commit is contained in:
Lukáš Kaňka
2024-01-30 13:45:32 +01:00
commit 01b2682a20
7 changed files with 646 additions and 0 deletions

14
page-objects/HomePage.ts Normal file
View File

@ -0,0 +1,14 @@
import { Locator, Page } from "@playwright/test";
export class HomePage {
page: Page;
constructor(page: Page) {
this.page = page;
}
async gotoHome() {
await this.page.goto(
"https://lukaskanka.cz/YourTravelAssistant/cestovatel.html"
);
}
}