diff --git a/examples/with-playwright/e2e/example.spec.ts b/examples/with-playwright/e2e/example.spec.ts index d7b5812e07b9..f552087a355a 100644 --- a/examples/with-playwright/e2e/example.spec.ts +++ b/examples/with-playwright/e2e/example.spec.ts @@ -8,5 +8,7 @@ test('should navigate to the about page', async ({ page }) => { // The new url should be "/about" (baseURL is used there) await expect(page).toHaveURL('/about') // The new page should contain an h1 with "About Page" - await expect(page.getByRole('heading', { level: 1 })).toContainText('About Page') + await expect(page.getByRole('heading', { level: 1 })).toContainText( + 'About Page' + ) })