Menu test

This commit is contained in:
Lukáš
2024-02-01 22:47:24 +01:00
parent 0f7c9b6e26
commit ae779c761a
3 changed files with 56 additions and 1 deletions

16
tests/menuButton.test.ts Normal file
View File

@ -0,0 +1,16 @@
import { test, expect } from "@playwright/test";
import { HomePage } from "../page-objects/HomePage";
// test odsouhlasení cookies
test("Menu button test", async ({ page }) => {
const homePage = new HomePage(page);
await await (
await (
await (
await (
await (await homePage.gotoHome()).clickAboutUsButton()
).clickWhatWeDoButton()
).clickOurTripsButton()
).clickWhereToGoButton()
).clickReviewButtonClick();
});