Skip to content

Commit aa2cbfc

Browse files
committed
test(e2e): Port the React Router lazy routes E2E app to span streaming
Removes the `traceLifecycle: 'static'` pin from `react-router-7-lazy-routes` and rewrites its specs against streamed span v2. The span-leaking and GQL attribution specs group streamed spans by trace instead of reading a transaction's `spans` array, and they match fetch spans on `url.full`, since a streamed `http.client` span carries only the domain in its name.
1 parent edd1076 commit aa2cbfc

3 files changed

Lines changed: 385 additions & 542 deletions

File tree

‎dev-packages/e2e-tests/test-applications/react-router-7-lazy-routes/src/index.tsx‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@ const lazyRouteManifest = [
7878
];
7979

8080
Sentry.init({
81-
traceLifecycle: 'static',
8281
environment: 'qa', // dynamic sampling bias to keep transactions
8382
dsn: process.env.REACT_APP_E2E_TEST_DSN,
8483
integrations: [

0 commit comments

Comments
 (0)