import { expect, test } from '@playwright/test'; test.describe('health endpoint', () => { test('returns a ready JSON payload', async ({ request }) => { const response = await request.get('/api/health'); expect(response.ok()).toBeTruthy(); const payload = await response.json(); expect(payload).toMatchObject({ status: 'ok', service: 'holiday-property-booking', }); }); });