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

@@ -1,13 +1,12 @@
import { expect, test } from '@playwright/test';
test.describe('responsive shell', () => {
test('keeps the core content visible on mobile widths', async ({ page }) => {
test('keeps the public content visible on mobile widths', async ({ page }) => {
await page.setViewportSize({ width: 390, height: 844 });
await page.goto('/');
await expect(page.getByRole('heading', { name: 'Holiday Property Booking' })).toBeVisible();
await expect(page.getByRole('heading', { name: 'Foundation work starts here' })).toBeVisible();
await expect(page.getByRole('link', { name: 'Review foundation' })).toBeVisible();
await expect(page.getByRole('heading', { name: 'A few properties guests can imagine themselves in' })).toBeVisible();
await expect(page.getByRole('link', { name: 'Contact the team' })).toBeVisible();
});
});