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

[test] Skip flaky `cached-navigations` tests (#92199)

parent f7de136c
...@@ -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
......
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