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

13
tests/e2e/contact.spec.ts Normal file
View File

@@ -0,0 +1,13 @@
import { expect, test } from '@playwright/test';
test.describe('contact page', () => {
test('renders the enquiry form and contact details', async ({ page }) => {
await page.goto('/contact');
await expect(page.getByRole('heading', { name: 'Talk to the team before you book' })).toBeVisible();
await expect(page.getByLabel('Name')).toBeVisible();
await expect(page.getByLabel('Email')).toBeVisible();
await expect(page.getByLabel('Message')).toBeVisible();
await expect(page.getByRole('heading', { name: 'hello@example.com' })).toBeVisible();
});
});