title test

This commit is contained in:
Lukáš 2024-02-01 21:24:22 +01:00
parent 013c729120
commit 0f7c9b6e26

9
tests/tittle.test.ts Normal file
View File

@ -0,0 +1,9 @@
import { test, expect } from "@playwright/test";
import { HomePage } from "../page-objects/HomePage";
// test odsouhlasení cookies
test("TestPage", async ({ page }) => {
const homePage = new HomePage(page);
await homePage.gotoHome();
await expect(page).toHaveTitle("Your Travel Assistant");
});