Skip to content

test(e2e): Add more test modes, pre-init and element timing#21760

Open
Lms24 wants to merge 5 commits into
developfrom
lms/test-e2e-lighthouse-pre-init-timing
Open

test(e2e): Add more test modes, pre-init and element timing#21760
Lms24 wants to merge 5 commits into
developfrom
lms/test-e2e-lighthouse-pre-init-timing

Conversation

@Lms24

@Lms24 Lms24 commented Jun 24, 2026

Copy link
Copy Markdown
Member

A couple of changes:

  • add a sentry-sdk-pre-init-duration measure to see how long the entire page load takes until we start initializing the SDK.
  • add 3 new modes:
    • tracing-lazy-import: Purely for testing if importing browserTracingIntegration has a net positive or negative effect compared to eagerly registering it in the tracing mode
    • minimal-integrations: Errors only with minimal intesgrations
    • no-breadcrumbs: Removes breadcrumbs from the mix. It's the other integration that does a lot of patching, so I wanna see how much it contributes
  • add an element timing tag for the logo.svg which I hope to pick up in sentry-lighthouse. I want to have something more deterministic than LCP

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

There are 2 total unresolved issues (including 1 from previous review).

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 0ad846c. Configure here.

Comment thread dev-packages/e2e-tests/test-applications/lighthouse-react/src/main.tsx Outdated
@Lms24 Lms24 requested a review from logaretm June 24, 2026 15:04
@Lms24 Lms24 self-assigned this Jun 24, 2026
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.

1 participant