Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
N
next.js
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alex
next.js
Commits
d6ab9e2a
Unverified
Commit
d6ab9e2a
authored
Apr 01, 2026
by
Sebastian "Sebbie" Silbermann
Committed by
GitHub
Apr 01, 2026
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[test] Skip flaky `cached-navigations` tests (#92199)
parent
f7de136c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
9 deletions
+18
-9
cached-navigations.test.ts
...gment-cache/cached-navigations/cached-navigations.test.ts
+18
-9
No files found.
test/e2e/app-dir/segment-cache/cached-navigations/cached-navigations.test.ts
View file @
d6ab9e2a
...
@@ -13,7 +13,8 @@ describe('cached navigations', () => {
...
@@ -13,7 +13,8 @@ describe('cached navigations', () => {
return
return
}
}
it
(
'serves cached static segments instantly on the second navigation'
,
async
()
=>
{
// TODO: flaky
it
.
skip
(
'serves cached static segments instantly on the second navigation'
,
async
()
=>
{
let
page
:
Playwright
.
Page
let
page
:
Playwright
.
Page
const
browser
=
await
next
.
browser
(
'/'
,
{
const
browser
=
await
next
.
browser
(
'/'
,
{
async
beforePageLoad
(
p
:
Playwright
.
Page
)
{
async
beforePageLoad
(
p
:
Playwright
.
Page
)
{
...
@@ -181,7 +182,8 @@ describe('cached navigations', () => {
...
@@ -181,7 +182,8 @@ describe('cached navigations', () => {
)
)
})
})
it
(
'caches static segments when navigating to a known route without a prefetch'
,
async
()
=>
{
// TODO: flaky
it
.
skip
(
'caches static segments when navigating to a known route without a prefetch'
,
async
()
=>
{
let
page
:
Playwright
.
Page
let
page
:
Playwright
.
Page
const
browser
=
await
next
.
browser
(
'/'
,
{
const
browser
=
await
next
.
browser
(
'/'
,
{
async
beforePageLoad
(
p
:
Playwright
.
Page
)
{
async
beforePageLoad
(
p
:
Playwright
.
Page
)
{
...
@@ -274,7 +276,8 @@ describe('cached navigations', () => {
...
@@ -274,7 +276,8 @@ describe('cached navigations', () => {
)
)
})
})
it
(
'includes static params in the cached static stage'
,
async
()
=>
{
// TODO: flaky
it
.
skip
(
'includes static params in the cached static stage'
,
async
()
=>
{
let
page
:
Playwright
.
Page
let
page
:
Playwright
.
Page
const
browser
=
await
next
.
browser
(
'/'
,
{
const
browser
=
await
next
.
browser
(
'/'
,
{
async
beforePageLoad
(
p
:
Playwright
.
Page
)
{
async
beforePageLoad
(
p
:
Playwright
.
Page
)
{
...
@@ -334,7 +337,8 @@ describe('cached navigations', () => {
...
@@ -334,7 +337,8 @@ describe('cached navigations', () => {
)
)
})
})
it
(
'defers fallback params to the runtime stage'
,
async
()
=>
{
// TODO: flaky
it
.
skip
(
'defers fallback params to the runtime stage'
,
async
()
=>
{
let
page
:
Playwright
.
Page
let
page
:
Playwright
.
Page
const
browser
=
await
next
.
browser
(
'/'
,
{
const
browser
=
await
next
.
browser
(
'/'
,
{
async
beforePageLoad
(
p
:
Playwright
.
Page
)
{
async
beforePageLoad
(
p
:
Playwright
.
Page
)
{
...
@@ -403,7 +407,8 @@ describe('cached navigations', () => {
...
@@ -403,7 +407,8 @@ describe('cached navigations', () => {
)
)
})
})
it
(
'caches runtime-prefetchable content from a navigation for instant second visit'
,
async
()
=>
{
// TODO: flaky
it
.
skip
(
'caches runtime-prefetchable content from a navigation for instant second visit'
,
async
()
=>
{
let
page
:
Playwright
.
Page
let
page
:
Playwright
.
Page
const
browser
=
await
next
.
browser
(
'/'
,
{
const
browser
=
await
next
.
browser
(
'/'
,
{
async
beforePageLoad
(
p
:
Playwright
.
Page
)
{
async
beforePageLoad
(
p
:
Playwright
.
Page
)
{
...
@@ -557,7 +562,8 @@ describe('cached navigations', () => {
...
@@ -557,7 +562,8 @@ describe('cached navigations', () => {
)
)
})
})
it
(
'caches runtime-prefetchable content from the initial HTML for subsequent navigations'
,
async
()
=>
{
// TODO: flaky
it
.
skip
(
'caches runtime-prefetchable content from the initial HTML for subsequent navigations'
,
async
()
=>
{
let
page
:
Playwright
.
Page
let
page
:
Playwright
.
Page
// Start directly at /runtime-prefetchable — full HTML load, not a
// Start directly at /runtime-prefetchable — full HTML load, not a
// client-side navigation. The RSC payload is inlined in the HTML and
// client-side navigation. The RSC payload is inlined in the HTML and
...
@@ -751,7 +757,8 @@ describe('cached navigations', () => {
...
@@ -751,7 +757,8 @@ describe('cached navigations', () => {
)
)
})
})
it
(
'caches a partially static page from the initial HTML for subsequent navigations'
,
async
()
=>
{
// TODO: flaky
it
.
skip
(
'caches a partially static page from the initial HTML for subsequent navigations'
,
async
()
=>
{
let
page
:
Playwright
.
Page
let
page
:
Playwright
.
Page
// Start directly at /partially-static — full HTML load. The RSC payload
// Start directly at /partially-static — full HTML load. The RSC payload
// inlined in the HTML contains both cached and dynamic content.
// inlined in the HTML contains both cached and dynamic content.
...
@@ -817,7 +824,8 @@ describe('cached navigations', () => {
...
@@ -817,7 +824,8 @@ describe('cached navigations', () => {
)
)
})
})
it
(
'reuses cached page segment across different fallback params after navigation'
,
async
()
=>
{
// TODO: flaky
it
.
skip
(
'reuses cached page segment across different fallback params after navigation'
,
async
()
=>
{
let
page
:
Playwright
.
Page
let
page
:
Playwright
.
Page
const
browser
=
await
next
.
browser
(
'/'
,
{
const
browser
=
await
next
.
browser
(
'/'
,
{
async
beforePageLoad
(
p
:
Playwright
.
Page
)
{
async
beforePageLoad
(
p
:
Playwright
.
Page
)
{
...
@@ -878,7 +886,8 @@ describe('cached navigations', () => {
...
@@ -878,7 +886,8 @@ describe('cached navigations', () => {
)
)
})
})
it
(
'reuses cached page segment across different fallback params after initial HTML load'
,
async
()
=>
{
// TODO: flaky
it
.
skip
(
'reuses cached page segment across different fallback params after initial HTML load'
,
async
()
=>
{
let
page
:
Playwright
.
Page
let
page
:
Playwright
.
Page
// Start directly at /with-fallback-params/foo — full HTML load. The RSC
// Start directly at /with-fallback-params/foo — full HTML load. The RSC
// payload inlined in the HTML seeds the segment cache with the page
// payload inlined in the HTML seeds the segment cache with the page
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment