Skip to content

ref(e2e): move nextjs-instrumentation from smoke tests to e2e scenarios#1654

Merged
Abhijeet Prasad (AbhiPrasad) merged 1 commit intomainfrom
abhi-refactor-move-nextjs-instrumentation-to-e2e
Mar 25, 2026
Merged

ref(e2e): move nextjs-instrumentation from smoke tests to e2e scenarios#1654
Abhijeet Prasad (AbhiPrasad) merged 1 commit intomainfrom
abhi-refactor-move-nextjs-instrumentation-to-e2e

Conversation

@AbhiPrasad
Copy link
Copy Markdown
Member

Migrate the nextjs-instrumentation scenario from js/smoke/scenarios/ to e2e/scenarios/ to use the standard e2e test harness with mock server and snapshot-based assertions. This replaces the manual smoke test approach (Makefile + dev server polling) with proper e2e scenario infrastructure.

Key changes:

  • Add scenario.ts and scenario.test.ts for e2e framework integration
  • Add snapshot files for otel spans, request flow, route responses, and span events
  • Add API route handlers for edge and node runtime smoke tests
  • Add runtime-check utility library
  • Remove old Makefile, mise.toml, README, and manual test runner
  • Update js/smoke/README.md to remove nextjs-instrumentation references
  • Clean up pnpm-lock.yaml (remove next@16 and related dependencies)

Migrate the nextjs-instrumentation scenario from js/smoke/scenarios/ to
e2e/scenarios/ to use the standard e2e test harness with mock server and
snapshot-based assertions. This replaces the manual smoke test approach
(Makefile + dev server polling) with proper e2e scenario infrastructure.

Key changes:
- Add scenario.ts and scenario.test.ts for e2e framework integration
- Add snapshot files for otel spans, request flow, route responses, and
  span events
- Add API route handlers for edge and node runtime smoke tests
- Add runtime-check utility library
- Remove old Makefile, mise.toml, README, and manual test runner
- Update js/smoke/README.md to remove nextjs-instrumentation references
- Clean up pnpm-lock.yaml (remove next@16 and related dependencies)
@AbhiPrasad Abhijeet Prasad (AbhiPrasad) merged commit 8357d52 into main Mar 25, 2026
81 of 83 checks passed
@AbhiPrasad Abhijeet Prasad (AbhiPrasad) deleted the abhi-refactor-move-nextjs-instrumentation-to-e2e branch March 25, 2026 15:17
Luca Forstner (lforst) added a commit that referenced this pull request Mar 27, 2026
Forgot this as part of
#1654

Co-authored-by: Luca Forstner <luca.forstner@gmail.com>
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.

2 participants