[test] Stabilize the cache revalidation navigation test (#100514)
The navigation test added in #100447 could fail in CI with a `Network.getResponseBody` protocol error. It tried to read the browser response after `createRouterAct` had intercepted and fulfilled the request. The test now relies on the existing `act` response assertion, DOM check, and cached return navigation instead of reading the intercepted response body again. [Flakiness metrics](https://app.datadoghq.com/ci/ci-cd/explorer/executions?query=test_level%3Atest%20%40git.repository.id%3A%22github.com%2Fvercel%2Fnext.js%22%20%40test.name%3A%22use-cache-swr%20serves%20the%20same%20stale%20value%20in%20navigation%20data%20and%20the%20embedded%20runtime%20prefetch%20while%20revalidation%20is%20pending%22%20%40test.type%3A%22turbopack%22%20%40test.status%3A%22fail%22&agg_m=count&agg_m_source=base&agg_t=count&ci_cd_explorer_tab=tests&fromUser=false&start=1791981691285&end=1792586491285&paused=false)
Showing
Please
register
or
sign in
to comment