Skip to content

Conversation

@lubieowoce
Copy link
Member

@lubieowoce lubieowoce commented Nov 19, 2025

mirror of #86311, yanked out onto canary

@ijjk ijjk added created-by: Next.js team PRs by the Next.js team. type: next labels Nov 19, 2025
@ijjk
Copy link
Member

ijjk commented Nov 19, 2025

Failing test suites

Commit: 697968c | About building and testing Next.js

pnpm test-dev test/e2e/app-dir/actions/app-action-node-middleware.test.ts (job)

  • app-dir action handling > should work with interception routes (DD)
  • app-dir action handling > fetch actions > should handle redirects to routes that provide an invalid RSC response (DD)
  • app-dir action handling > fetch actions > should invalidate client cache on other routes when cookies.set is called (DD)
Expand output

● app-dir action handling › fetch actions › should handle redirects to routes that provide an invalid RSC response

expect(received).toContain(expected) // indexOf

Expected substring: "Hello from a pages route"
Received string:    "0.7269810949320392
Client
Server
Client and Server
0
+1+1 (Slow)-1*2
redirect to a pages route
submit
test"

  1310 |
  1311 |       await retry(async () => {
> 1312 |         expect(await browser.elementByCss('body').text()).toContain(
       |                                                           ^
  1313 |           'Hello from a pages route'
  1314 |         )
  1315 |         expect(await browser.url()).toBe(`${next.url}/pages-dir`)

  at toContain (e2e/app-dir/actions/app-action.test.ts:1312:59)
  at retry (lib/next-test-utils.ts:797:14)
  at Object.<anonymous> (e2e/app-dir/actions/app-action.test.ts:1311:7)

● app-dir action handling › fetch actions › should invalidate client cache on other routes when cookies.set is called

page.waitForSelector: Timeout 5000ms exceeded.
Call log:
  - waiting for locator('#update-cookie') to be visible

  519 |
  520 |     return this.startChain(async () => {
> 521 |       const el = await page.waitForSelector(selector, {
      |                             ^
  522 |         timeout,
  523 |         state,
  524 |       })

  at waitForSelector (lib/browsers/playwright.ts:521:29)
  at Playwright._chain (lib/browsers/playwright.ts:651:23)
  at Playwright._chain [as startChain] (lib/browsers/playwright.ts:632:17)
  at Playwright.startChain [as waitForElementByCss] (lib/browsers/playwright.ts:520:17)
  at Playwright.waitForElementByCss [as elementByCss] (lib/browsers/playwright.ts:405:17)
  at Object.elementByCss (e2e/app-dir/actions/app-action.test.ts:1448:21)
  at Proxy._chain (lib/browsers/playwright.ts:651:23)
  at Proxy._chain (lib/browsers/playwright.ts:627:17)
  at Proxy.continueChain (lib/browsers/playwright.ts:471:17)
  at Object.click (e2e/app-dir/actions/app-action.test.ts:1448:52)

● app-dir action handling › should work with interception routes

expect(received).toContain(expected) // indexOf

Expected substring: "interception-routes/test"
Received string:    "http://localhost:33977/interception-routes"

  1585 |     await retry(async () => {
  1586 |       // verify the URL is correct
> 1587 |       expect(await browser.url()).toContain('interception-routes/test')
       |                                   ^
  1588 |       // the intercepted text should appear
  1589 |       expect(await browser.elementById('modal-data').text()).toContain(
  1590 |         'in "modal"'

  at toContain (e2e/app-dir/actions/app-action.test.ts:1587:35)
  at retry (lib/next-test-utils.ts:797:14)
  at Object.<anonymous> (e2e/app-dir/actions/app-action.test.ts:1585:5)

@lubieowoce lubieowoce closed this Nov 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants