import { test, expect } from '@playwright/test'; test('has title', async ({ page }) => { await page.goto('https://music.lukan.cz/'); // Expect a title "to contain" a substring. await expect(page).toHaveTitle(/Zažij numetal a grunge každý den, po celý rok./); }); test('has title about page', async ({ page }) => { await page.goto('https://music.lukan.cz/about.html'); // Expect a title "to contain" a substring about page. await expect(page).toHaveTitle(/O projektu a další žvásty/); }); test('get started link', async ({ page }) => { await page.goto('https://music.lukan.cz/'); // Click the get started link. await page.getByRole('link', { name: 'O projektu' }).click(); // Expects page to have a heading with the name of Installation. await expect(page.getByRole('heading', { name: '🎸 Zažij numetal a grunge každý den, po celý rok. 💿' })).toBeVisible(); });