diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 77ddae4705b6..70535bd06e89 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -1003,7 +1003,7 @@ jobs:
working-directory: dev-packages/e2e-tests/test-applications/${{ matrix.test-application }}
timeout-minutes: 5
run: pnpm test:assert
-
+
- name: Upload Playwright Traces
uses: actions/upload-artifact@v4
if: failure()
diff --git a/dev-packages/e2e-tests/test-applications/solidstart/app.config.ts b/dev-packages/e2e-tests/test-applications/solidstart/app.config.ts
index b3c737efe5ba..0b9a5553fb0a 100644
--- a/dev-packages/e2e-tests/test-applications/solidstart/app.config.ts
+++ b/dev-packages/e2e-tests/test-applications/solidstart/app.config.ts
@@ -1,3 +1,8 @@
+import { sentrySolidStartVite } from '@sentry/solidstart';
import { defineConfig } from '@solidjs/start/config';
-export default defineConfig({});
+export default defineConfig({
+ vite: {
+ plugins: [sentrySolidStartVite()],
+ },
+});
diff --git a/dev-packages/e2e-tests/test-applications/solidstart/package.json b/dev-packages/e2e-tests/test-applications/solidstart/package.json
index dfcf8a47402a..e831a14c1f47 100644
--- a/dev-packages/e2e-tests/test-applications/solidstart/package.json
+++ b/dev-packages/e2e-tests/test-applications/solidstart/package.json
@@ -3,14 +3,19 @@
"version": "0.0.0",
"scripts": {
"clean": "pnpx rimraf node_modules pnpm-lock.yaml .vinxi .output",
+ "clean:build": "pnpx rimraf .vinxi .output",
"dev": "NODE_OPTIONS='--import ./src/instrument.server.mjs' vinxi dev",
"build": "vinxi build",
"//": [
"We are using `vinxi dev` to start the server because `vinxi start` is experimental and ",
"doesn't correctly resolve modules for @sentry/solidstart/solidrouter.",
- "This is currently not an issue outside of our repo. See: https://github.com/nksaraf/vinxi/issues/177"
+ "This is currently not an issue outside of our repo. See: https://github.com/nksaraf/vinxi/issues/177",
+ "We run the build command to ensure building succeeds. However, keeping",
+ "build output around slows down the vite dev server when using `@sentry/vite-plugin` so we clear it out",
+ "before actually running the tests.",
+ "Cleaning the build output should be removed once we can use `vinxi start`."
],
- "preview": "HOST=localhost PORT=3030 NODE_OPTIONS='--import ./src/instrument.server.mjs' vinxi dev",
+ "preview": "pnpm clean:build && HOST=localhost PORT=3030 NODE_OPTIONS='--import ./src/instrument.server.mjs' vinxi dev",
"start": "HOST=localhost PORT=3030 NODE_OPTIONS='--import ./src/instrument.server.mjs' vinxi start",
"test:prod": "TEST_ENV=production playwright test",
"test:build": "pnpm install && npx playwright install && pnpm build",
diff --git a/dev-packages/e2e-tests/test-applications/solidstart/src/routes/client-error.tsx b/dev-packages/e2e-tests/test-applications/solidstart/src/routes/client-error.tsx
index e997e4fbb1e3..5e405e8c4e40 100644
--- a/dev-packages/e2e-tests/test-applications/solidstart/src/routes/client-error.tsx
+++ b/dev-packages/e2e-tests/test-applications/solidstart/src/routes/client-error.tsx
@@ -1,75 +1,15 @@
-import * as Sentry from '@sentry/solidstart';
-import type { ParentProps } from 'solid-js';
-import { ErrorBoundary, createSignal, onMount } from 'solid-js';
-
-const SentryErrorBoundary = Sentry.withSentryErrorBoundary(ErrorBoundary);
-
-const [count, setCount] = createSignal(1);
-const [caughtError, setCaughtError] = createSignal(false);
-
export default function ClientErrorPage() {
return (
- Error Boundary Fallback
- {error.message}
-
{error.message}
+