Skip to content

Commit 5ff6491

Browse files
committed
forgot to save this one
1 parent 82e055b commit 5ff6491

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.getByText('About')
13+
const about = page.getByRole('heading', { name: /about/i })
1414
await expect(about).toBeVisible({ timeout: 500 })
1515
})

0 commit comments

Comments
 (0)