const { test, expect } = require('@playwright/test'); test('Home page has correct title', async ({ page }) => { await page.goto('http://localhost/'); const title = await page.title(); expect(title).toBe('Hello World'); });