+
+ Feedback Test Area
+
+
This is a test Next.JS website that implements the Sentry Feedback SDK.
+
+ -
+
+
+ -
+
+
+ -
+
+
+ -
+
+
+ -
+
+
+ -
+
+
+ -
+
+
+ -
+
+
+
+
+ );
+}
diff --git a/dev-packages/e2e-tests/test-applications/nextjs-16-userfeedback/instrumentation-client.ts b/dev-packages/e2e-tests/test-applications/nextjs-16-userfeedback/instrumentation-client.ts
new file mode 100644
index 000000000000..794df516fc6e
--- /dev/null
+++ b/dev-packages/e2e-tests/test-applications/nextjs-16-userfeedback/instrumentation-client.ts
@@ -0,0 +1,20 @@
+import * as Sentry from '@sentry/nextjs';
+
+Sentry.init({
+ environment: 'qa', // dynamic sampling bias to keep transactions
+ dsn: process.env.NEXT_PUBLIC_E2E_TEST_DSN,
+ tunnel: `http://localhost:3031/`, // proxy server
+ tracesSampleRate: 1.0,
+ sendDefaultPii: true,
+ integrations: [
+ Sentry.replayIntegration(),
+ Sentry.feedbackIntegration({
+ colorScheme: 'system',
+ autoInject: false,
+ }),
+ ],
+ replaysSessionSampleRate: 1.0,
+ replaysOnErrorSampleRate: 1.0,
+});
+
+export const onRouterTransitionStart = Sentry.captureRouterTransitionStart;
diff --git a/dev-packages/e2e-tests/test-applications/nextjs-16-userfeedback/instrumentation.ts b/dev-packages/e2e-tests/test-applications/nextjs-16-userfeedback/instrumentation.ts
new file mode 100644
index 000000000000..964f937c439a
--- /dev/null
+++ b/dev-packages/e2e-tests/test-applications/nextjs-16-userfeedback/instrumentation.ts
@@ -0,0 +1,13 @@
+import * as Sentry from '@sentry/nextjs';
+
+export async function register() {
+ if (process.env.NEXT_RUNTIME === 'nodejs') {
+ await import('./sentry.server.config');
+ }
+
+ if (process.env.NEXT_RUNTIME === 'edge') {
+ await import('./sentry.edge.config');
+ }
+}
+
+export const onRequestError = Sentry.captureRequestError;
diff --git a/dev-packages/e2e-tests/test-applications/nextjs-16-userfeedback/next-env.d.ts b/dev-packages/e2e-tests/test-applications/nextjs-16-userfeedback/next-env.d.ts
new file mode 100644
index 000000000000..1511519d3892
--- /dev/null
+++ b/dev-packages/e2e-tests/test-applications/nextjs-16-userfeedback/next-env.d.ts
@@ -0,0 +1,6 @@
+///