Skip to content

Commit

Permalink
Update example.spec.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
balazsorban44 committed Aug 31, 2023
1 parent 208769b commit 8f4a1ad
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion examples/with-playwright/e2e/example.spec.ts
Expand Up @@ -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'
)
})

0 comments on commit 8f4a1ad

Please sign in to comment.