docs(sveltekit): re-introduce speed insights (#9988)

This commit is contained in:
Damien Simonin Feugas
2023-05-31 09:41:46 +02:00
committed by GitHub
parent 18ae78137c
commit 4280166df4
13 changed files with 527 additions and 419 deletions

View File

@@ -2,5 +2,5 @@ import { expect, test } from '@playwright/test';
test('about page has expected h1', async ({ page }) => {
await page.goto('/about');
expect(await page.textContent('h1')).toBe('About this app');
await expect(page.getByRole('heading', { name: 'About this app' })).toBeVisible();
});