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

[test] Skip flaky deploy tests (#99156)

Skips the tests that flaked during deploy in the
`test-e2e-deploy-release` run for `v16.4.0-canary.41` ([run 35935267084,
attempt
2](https://github.com/vercel/next.js/actions/runs/35935267084/attempts/2)),
using `// @force-gate !deploy` so they keep running in dev and start CI:

- `parallel-routes-and-interception`: `should support parallel route tab
bars` (Webpack 2/8 and Turbopack 1/12), `should throw a 404 when no
matching parallel route is found` (Turbopack 1/12), `should handle a
loading state` (Webpack 2/8)
- `prefetch-static-shell`: `[FAILING] speculative: attempts a static
prefetch and does not fall back to a runtime prefetch` (Webpack 8/8)
- `prefetch-fallback-static`: 6 cases under `when the param was not
prerendered and an ISR fallback was served` (Adapter Turbopack 8/12; the
2 sibling cases that passed stay ungated)
parent d35864d5
......@@ -32,6 +32,8 @@ describe.each([true, false])(
})
describe('parallel routes', () => {
// FIXME: Flaky test
// @force-gate !deploy
it('should support parallel route tab bars', async () => {
const browser = await next.browser('/parallel-tab-bar')
......@@ -210,6 +212,8 @@ describe.each([true, false])(
expect(pageText).toContain('parallel/(new)/@baz/nested/page')
})
// FIXME: Flaky test
// @force-gate !deploy
it('should throw a 404 when no matching parallel route is found', async () => {
const browser = await next.browser('/parallel-tab-bar')
// we make sure the page is available through navigating
......@@ -466,6 +470,8 @@ describe.each([true, false])(
).toBe('rgb(255, 0, 0)')
})
// FIXME: Flaky test
// @force-gate !deploy
it('should handle a loading state', async () => {
const browser = await next.browser('/with-loading')
expect(await browser.elementById('slot').text()).toBe('Root Slot')
......
......@@ -258,6 +258,8 @@ describe('Partial prefetching with static params and ISR fallbacks', () => {
describe('with ensureStatic', () => {
describe('ensureStatic = "shell"', () => {
// FIXME: Flaky test
// @force-gate !deploy
it('prefetch={true}: uses a runtime prefetch as a replacement for not-yet-available ISR content', async () => {
let page: Playwright.Page
const browser = await next.browser('/', {
......@@ -327,6 +329,8 @@ describe('Partial prefetching with static params and ISR fallbacks', () => {
})
describe('ensureStatic = "prefetch"', () => {
// FIXME: Flaky test
// @force-gate !deploy
it('prefetch={true}: does not use a runtime prefetch as a replacement for not-yet-available ISR content', async () => {
let page: Playwright.Page
const browser = await next.browser('/', {
......@@ -409,6 +413,8 @@ describe('Partial prefetching with static params and ISR fallbacks', () => {
// (assuming the link allows it), before we find out that the concrete prerender
// used runtime data and merits a runtime prefetch.
// FIXME: Flaky test
// @force-gate !deploy
it('prefetch="auto": does not use a runtime prefetch', async () => {
let page: Playwright.Page
const browser = await next.browser('/', {
......@@ -473,6 +479,8 @@ describe('Partial prefetching with static params and ISR fallbacks', () => {
])
})
// FIXME: Flaky test
// @force-gate !deploy
it('prefetch={true}: uses a runtime prefetch as a replacement for not-yet-available ISR content', async () => {
let page: Playwright.Page
const browser = await next.browser('/', {
......@@ -535,6 +543,8 @@ describe('Partial prefetching with static params and ISR fallbacks', () => {
describe('with ensureStatic', () => {
describe('ensureStatic = "shell"', () => {
// FIXME: Flaky test
// @force-gate !deploy
it('prefetch={true}: uses a runtime prefetch as a replacement for not-yet-available ISR content', async () => {
let page: Playwright.Page
const browser = await next.browser('/', {
......@@ -603,6 +613,8 @@ describe('Partial prefetching with static params and ISR fallbacks', () => {
})
describe('ensureStatic = "prefetch"', () => {
// FIXME: Flaky test
// @force-gate !deploy
it('prefetch={true}: does not use a runtime prefetch as a replacement for not-yet-available ISR content', async () => {
let page: Playwright.Page
const browser = await next.browser('/', {
......
......@@ -1735,6 +1735,8 @@ describe('static App Shell prefetch attempt', () => {
})
})
describe('when a link to a prerendered param that does not use cookies in the prefetch is revealed second', () => {
// FIXME: Flaky test
// @force-gate !deploy
it('[FAILING] speculative: attempts a static prefetch and does not fall back to a runtime prefetch', async () => {
let page: Playwright.Page
const browser = await next.browser('/', {
......
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