Skip to contentOpen History to see the last commit
hydration.ts
7 lines208 Bytes
1import { expect, type Page } from '@playwright/test' 3export async function waitForHydration(page: Page) { 4 await expect(page.getByTestId('app-hydrated')).toHaveText('hydrated', {