Skip to content

Commit e3e470c

Browse files
committed
test: update search navigation test for suggestions
1 parent e024a63 commit e3e470c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test/e2e/interactions.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,9 @@ test.describe('Search Pages', () => {
6868
await page.keyboard.press('ArrowUp')
6969

7070
// Enter navigates to the selected result
71-
// URL is /package/vue not /vue
71+
// URL is /package/vue or /org/vue or /user/vue. Not /vue
7272
await page.keyboard.press('Enter')
73-
await expect(page).toHaveURL(/\/package\/vue/)
73+
await expect(page).toHaveURL(/\/(package|org|user)\/vue/)
7474
})
7575

7676
test('/search?q=vue → "/" focuses the search input from results', async ({ page, goto }) => {

0 commit comments

Comments
 (0)