From 0aaba1430077cbb109edf762da9053ac8bbe77d4 Mon Sep 17 00:00:00 2001 From: Chris Dumas Date: Tue, 26 May 2026 08:19:53 +0000 Subject: [PATCH] test: align homepage spec with current content --- tests/e2e/home.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/e2e/home.spec.ts b/tests/e2e/home.spec.ts index 69bcddc..d886210 100644 --- a/tests/e2e/home.spec.ts +++ b/tests/e2e/home.spec.ts @@ -6,7 +6,7 @@ test.describe('homepage', () => { await expect(page.getByRole('heading', { name: 'Holiday Property Booking' })).toBeVisible(); await expect(page.getByRole('navigation', { name: 'Primary' })).toBeVisible(); - await expect(page.getByRole('link', { name: 'Explore featured stays' })).toHaveAttribute('href', '/#browse'); + await expect(page.getByRole('link', { name: 'Explore featured stays' })).toHaveAttribute('href', '#browse'); await expect(page.getByRole('link', { name: 'Contact the team' })).toHaveAttribute('href', '/contact'); }); @@ -15,7 +15,7 @@ test.describe('homepage', () => { await expect(page.getByRole('heading', { name: 'A few properties guests can imagine themselves in' })).toBeVisible(); await expect(page.getByRole('heading', { name: 'Editorial content keeps the journey understandable' })).toBeVisible(); - await expect(page.getByRole('heading', { name: 'Location highlights' })).toBeVisible(); + await expect(page.getByRole('heading', { name: 'The site can now speak about place, not just property' })).toBeVisible(); await expect(page.getByRole('heading', { name: 'A clear contact route is already live' })).toBeVisible(); }); });