import { Page } from '@playwright/test'; export class TestWarmup { static async warmupBrowser(page: Page): Promise { await page.goto('about:blank'); await page.waitForTimeout(100); } static async warmupServer(baseUrl: string): Promise { const response = await fetch(baseUrl); if (!response.ok) { throw new Error(`Server warmup failed: ${response.status}`); } } }