Build public home, contact, and content pages

This commit is contained in:
2026-05-22 15:14:35 +00:00
parent 85fc02fcfa
commit 4e58794c50
11 changed files with 911 additions and 140 deletions

View File

@@ -0,0 +1,11 @@
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');
});
});