Skip to content

Conversation

@mischnic
Copy link
Contributor

@mischnic mischnic commented Oct 16, 2025

Was fixed on canary in #84922

Very annoying test setup

Closes PACK-5698

@ijjk
Copy link
Member

ijjk commented Oct 16, 2025

Failing test suites

Commit: b62e0ea | About building and testing Next.js

pnpm test-dev test/development/acceptance-app/undefined-default-export.test.ts

  • Undefined default export > should error when page component export is not valid (DD)
Expand output

● Undefined default export › should error when page component export is not valid

expect(received).toMatchInlineSnapshot(snapshot)

Snapshot name: `Undefined default export should error when page component export is not valid 1`

- Snapshot  - 7
+ Received  + 1

- {
-   "description": "The default export is not a React Component in "/page"",
-   "environmentLabel": null,
-   "label": "Runtime Error",
-   "source": null,
-   "stack": [],
- }
+ "Expected Redbox but found no visible one."

   98 |     }, 10_000)
   99 |
> 100 |     await expect(browser).toDisplayRedbox(`
      |                           ^
  101 |      {
  102 |        "description": "The default export is not a React Component in "/page"",
  103 |        "environmentLabel": null,

  at Object.toDisplayRedbox (development/acceptance-app/undefined-default-export.test.ts:100:27)

pnpm test-start-turbo test/e2e/app-dir/ppr-partial-hydration/ppr-partial-hydration.test.ts (turbopack)

  • PPR - partial hydration > No static shell, no streaming metadata > should hydrate the shell without waiting for slow suspense boundaries (DD)
  • PPR - partial hydration > Static shell, no streaming metadata > should hydrate the shell without waiting for slow suspense boundaries (DD)
Expand output

● PPR - partial hydration › Static shell, no streaming metadata › should hydrate the shell without waiting for slow suspense boundaries

page.waitForSelector: Timeout 10ms exceeded.
Call log:
  - waiting for locator('#shell-hydrated') to be visible
  -   locator resolved to visible <div id="shell-hydrated" data-is-hydrated="true">🟢 Hydrated</div>

  491 |
  492 |     return this.startChain(async () => {
> 493 |       const el = await page.waitForSelector(selector, {
      |                             ^
  494 |         timeout,
  495 |         state,
  496 |       })

  at waitForSelector (lib/browsers/playwright.ts:493:29)
  at Playwright._chain (lib/browsers/playwright.ts:616:23)
  at Playwright._chain [as startChain] (lib/browsers/playwright.ts:597:17)
  at Playwright.startChain [as waitForElementByCss] (lib/browsers/playwright.ts:492:17)
  at Playwright.waitForElementByCss (lib/browsers/playwright.ts:398:17)
  at elementByCssInstant (e2e/app-dir/ppr-partial-hydration/ppr-partial-hydration.test.ts:54:16)
  at fn (lib/next-test-utils.ts:813:20)
  at Object.<anonymous> (e2e/app-dir/ppr-partial-hydration/ppr-partial-hydration.test.ts:48:7)
  at Proxy._chain (lib/browsers/playwright.ts:616:23)
  at Proxy._chain (lib/browsers/playwright.ts:592:17)
  at Proxy.continueChain (lib/browsers/playwright.ts:440:17)
  at getAttribute (e2e/app-dir/ppr-partial-hydration/ppr-partial-hydration.test.ts:55:16)
  at fn (lib/next-test-utils.ts:813:20)
  at Object.<anonymous> (e2e/app-dir/ppr-partial-hydration/ppr-partial-hydration.test.ts:48:7)

● PPR - partial hydration › No static shell, no streaming metadata › should hydrate the shell without waiting for slow suspense boundaries

page.waitForSelector: Timeout 10ms exceeded.
Call log:
  - waiting for locator('#shell-hydrated') to be visible
  -   locator resolved to visible <div id="shell-hydrated" data-is-hydrated="true">🟢 Hydrated</div>

  491 |
  492 |     return this.startChain(async () => {
> 493 |       const el = await page.waitForSelector(selector, {
      |                             ^
  494 |         timeout,
  495 |         state,
  496 |       })

  at waitForSelector (lib/browsers/playwright.ts:493:29)
  at Playwright._chain (lib/browsers/playwright.ts:616:23)
  at Playwright._chain [as startChain] (lib/browsers/playwright.ts:597:17)
  at Playwright.startChain [as waitForElementByCss] (lib/browsers/playwright.ts:492:17)
  at Playwright.waitForElementByCss (lib/browsers/playwright.ts:398:17)
  at elementByCssInstant (e2e/app-dir/ppr-partial-hydration/ppr-partial-hydration.test.ts:75:14)
  at fn (lib/next-test-utils.ts:813:20)
  at Object.<anonymous> (e2e/app-dir/ppr-partial-hydration/ppr-partial-hydration.test.ts:71:7)
  at Proxy._chain (lib/browsers/playwright.ts:616:23)
  at Proxy._chain (lib/browsers/playwright.ts:592:17)
  at Proxy.continueChain (lib/browsers/playwright.ts:440:17)
  at getAttribute (e2e/app-dir/ppr-partial-hydration/ppr-partial-hydration.test.ts:76:14)
  at fn (lib/next-test-utils.ts:813:20)
  at Object.<anonymous> (e2e/app-dir/ppr-partial-hydration/ppr-partial-hydration.test.ts:71:7)

pnpm test-dev test/e2e/app-dir/fallback-shells/fallback-shells.test.ts

  • fallback-shells > without IO > should start and not postpone the response (DD)
Expand output

● fallback-shells › without IO › should start and not postpone the response

thrown: "Timed out waiting for the response of /without-io/world"

   8 |
   9 |   describe('without IO', () => {
> 10 |     it('should start and not postpone the response', async () => {
     |     ^
  11 |       const { browser, response } =
  12 |         await next.browserWithResponse('/without-io/world')
  13 |

  at it (e2e/app-dir/fallback-shells/fallback-shells.test.ts:10:5)
  at describe (e2e/app-dir/fallback-shells/fallback-shells.test.ts:9:3)
  at Object.describe (e2e/app-dir/fallback-shells/fallback-shells.test.ts:4:1)

pnpm test-start test/e2e/app-dir/segment-cache/revalidation/segment-cache-revalidation.test.ts

  • segment cache (revalidation) > evict client cache when Server Action calls revalidateTag (DD)
Expand output

● segment cache (revalidation) › evict client cache when Server Action calls revalidateTag

thrown: "Exceeded timeout of 120000 ms for a test.
Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout."

  201 |   })
  202 |
> 203 |   it('evict client cache when Server Action calls revalidateTag', async () => {
      |   ^
  204 |     let act: ReturnType<typeof createRouterAct>
  205 |     const browser = await next.browser('/', {
  206 |       beforePageLoad(page) {

  at it (e2e/app-dir/segment-cache/revalidation/segment-cache-revalidation.test.ts:203:3)
  at Object.describe (e2e/app-dir/segment-cache/revalidation/segment-cache-revalidation.test.ts:7:1)

@ijjk ijjk added created-by: Turbopack team PRs by the Turbopack team. tests labels Oct 16, 2025
@mischnic mischnic merged commit f895b72 into next-15-5 Oct 16, 2025
258 of 268 checks passed
@mischnic mischnic deleted the mischnic/fix-15-5-url-imports branch October 16, 2025 23:44
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 31, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants