Skip to content

Commit ef8442c

Browse files
committed
fix test
1 parent 4fe85c5 commit ef8442c

File tree

1 file changed

+1
-1
lines changed
  • exercises/01.create-router/03.solution.sibling-routes/tests

1 file changed

+1
-1
lines changed

exercises/01.create-router/03.solution.sibling-routes/tests/router.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ test('Hello World! should be rendered', async ({ page }) => {
1010
test('About should be rendered', async ({ page }) => {
1111
await page.goto('/about')
1212

13-
const about = page.getByRole('heading', { name: /about/i })
13+
const about = page.getByText(/about/i)
1414
await expect(about).toBeVisible({ timeout: 500 })
1515
})

0 commit comments

Comments
 (0)