You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 28cffd1
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+3-17Lines changed: 3 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -75,11 +75,11 @@ Note: you must run `yarn build` before `yarn test` will work.
75
75
76
76
## Running E2E Tests Locally
77
77
78
-
E2E tests verify SDK behavior in real-world framework scenarios using a local npm registry (Verdaccio).
78
+
E2E tests verify SDK behavior in real-world framework scenarios.
79
79
80
80
### Prerequisites
81
81
82
-
1.**Docker**: Required to run the Verdaccio registry container
82
+
1.**Docker**: Required for some E2E tests
83
83
2.**Volta with pnpm support**: Enable pnpm in Volta by setting `VOLTA_FEATURE_PNPM=1` in your environment. See [Volta pnpm docs](https://docs.volta.sh/advanced/pnpm).
84
84
85
85
### Step-by-Step Instructions
@@ -122,17 +122,6 @@ E2E tests verify SDK behavior in real-world framework scenarios using a local np
122
122
123
123
### Common Issues and Troubleshooting
124
124
125
-
#### Packages install from public npm instead of Verdaccio
126
-
127
-
Every E2E test application **must** have an `.npmrc` file with:
128
-
129
-
```
130
-
@sentry:registry=http://127.0.0.1:4873
131
-
@sentry-internal:registry=http://127.0.0.1:4873
132
-
```
133
-
134
-
Without this, pnpm will fetch packages from the public npm registry instead of the local Verdaccio instance, causing tests to use outdated/published versions instead of your local changes.
135
-
136
125
#### Tests fail after making SDK changes
137
126
138
127
Make sure to rebuild tarballs:
@@ -144,15 +133,12 @@ yarn build:tarball
144
133
145
134
#### Docker-related issues
146
135
147
-
- Ensure Docker daemon is running
148
-
- Check that port 4873 is not in use by another process
149
-
- Try stopping and removing existing Verdaccio containers
136
+
- Ensure Docker daemon is running, some E2E tests require Docker
150
137
151
138
#### Debugging test failures
152
139
153
140
1. Check browser console logs for SDK initialization errors
154
141
2. Enable debug mode in the test app's Sentry config: `debug: true`
155
-
3. Verify packages are installed from Verdaccio by checking the version in `node_modules/@sentry/*/package.json`
156
142
157
143
For more details, see [dev-packages/e2e-tests/README.md](dev-packages/e2e-tests/README.md).
0 commit comments