Unverified Commit bfe2ab44 authored by Sebastian "Sebbie" Silbermann's avatar Sebastian "Sebbie" Silbermann Committed by GitHub

[test] Deflake prefetching.stale-times (#85733)

parent 29d28ac3
...@@ -129,6 +129,8 @@ describe('app dir - prefetching (custom staleTime)', () => { ...@@ -129,6 +129,8 @@ describe('app dir - prefetching (custom staleTime)', () => {
it('should not re-fetch cached data when navigating back to a route group', async () => { it('should not re-fetch cached data when navigating back to a route group', async () => {
let act: ReturnType<typeof createRouterAct> let act: ReturnType<typeof createRouterAct>
// Just installing so that the page doesn't automatically move past dynamic stale time
createTimeController()
const browser = await next.browser('/prefetch-auto-route-groups', { const browser = await next.browser('/prefetch-auto-route-groups', {
beforePageLoad(page) { beforePageLoad(page) {
act = createRouterAct(page) act = createRouterAct(page)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment