import { expect, test } from '@playwright/test'; test.describe('content pages', () => { test('renders editorial content pages from shared data', async ({ page }) => { await page.goto('/about'); await expect(page.getByRole('heading', { name: 'About Holiday Property Booking' })).toBeVisible(); await expect(page.getByRole('heading', { name: 'What the site is for' })).toBeVisible(); await expect(page.getByRole('link', { name: 'Open the contact page' })).toHaveAttribute('href', '/contact'); }); });