Skip to content

Commit b88cac3

Browse files
committed
less flaky with react
1 parent 5700d48 commit b88cac3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/prefetch.spec.ts

+1
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ test('can prefetch using link props', async ({ page, browser }) => {
9696

9797
test('can prefetch link on focus', async ({ page, browser }) => {
9898
await page.goto('prefetch/2')
99+
await isPrefetchPage(page, 2)
99100
requests.listen(page)
100101
// If they just do a quick focus, it shouldn't make the request
101102
const link = page.getByRole('link', { exact: true, name: 'On Hover (Default)' })

0 commit comments

Comments
 (0)