Skip to content

[turbopack] Add e2e tests for next dev --no-hmr#95437

Draft
sampoder wants to merge 1 commit into
sp/no-hmr/optionfrom
sp/no-hmr/tests
Draft

[turbopack] Add e2e tests for next dev --no-hmr#95437
sampoder wants to merge 1 commit into
sp/no-hmr/optionfrom
sp/no-hmr/tests

Conversation

@sampoder

@sampoder sampoder commented Jul 2, 2026

Copy link
Copy Markdown
Member

No description provided.

@github-actions

github-actions Bot commented Jul 2, 2026 •

Copy link
Copy Markdown
Contributor

Stats cancelled

Commit: c7e70f6
View workflow run

@github-actions

github-actions Bot commented Jul 2, 2026 •

Copy link
Copy Markdown
Contributor

Failing test suites

Commit: c7e70f6 | About building and testing Next.js

pnpm test-dev test/development/app-dir/no-hmr-use-cache/no-hmr-use-cache.test.ts (job)

  • no-hmr-use-cache > serves fresh data from an edited "use cache" function on refresh (DD)
Expand output

● no-hmr-use-cache › serves fresh data from an edited "use cache" function on refresh

expect(received).toBe(expected) // Object.is equality

Expected: "cached value v2"
Received: "cached value v1"

  29 |         await retry(async () => {
  30 |           await browser.refresh()
> 31 |           expect(await browser.elementByCss('#cached-value').text()).toBe(
     |                                                                      ^
  32 |             'cached value v2'
  33 |           )
  34 |         })

  at toBe (development/app-dir/no-hmr-use-cache/no-hmr-use-cache.test.ts:31:70)
  at retry (lib/next-test-utils.ts:867:14)
  at development/app-dir/no-hmr-use-cache/no-hmr-use-cache.test.ts:29:9
  at NextDevInstance.patchFile (lib/next-modes/base.ts:962:9)
  at NextDevInstance.patchFile (lib/next-modes/next-dev.ts:305:16)
  at Object.<anonymous> (development/app-dir/no-hmr-use-cache/no-hmr-use-cache.test.ts:25:5)

@sampoder sampoder changed the title Add e2e tests for next dev --no-hmr [turbopack] Add e2e tests for next dev --no-hmr Jul 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant