Build public home, contact, and content pages
This commit is contained in:
@@ -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();
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user