import { test, expect } from '@playwright/test'; test('has title', async ({ page }) => { await page.goto('https://erant.cz/'); // Expect a title "to contain" a substring. await expect(page).toHaveTitle(/Erant/); }); test('get started link', async ({ page }) => { await page.goto('https://erant.cz/profile'); // Click the get started link. await page.getByRole('link', { name: 'profile' }).click(); // Expects the URL to contain intro. await expect(page).toHaveURL(/.*intro/); });