Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test(e2e): Add Astro 4 E2E test app #13375

Merged
merged 2 commits into from
Aug 14, 2024
Merged

test(e2e): Add Astro 4 E2E test app #13375

merged 2 commits into from
Aug 14, 2024

Conversation

Lms24
Copy link
Member

@Lms24 Lms24 commented Aug 14, 2024

Given we have no e2e tests yet for Astro and I fixed a couple of bugs recently, I figured it'd be great to quickly (=== spend hours fighting with pnpm) build one.

Discovered another weirdness along the way with a missing parent span id (see review comment) but we can fix this in a follow-up PR.

@Lms24 Lms24 marked this pull request as draft August 14, 2024 09:30
Comment on lines +22 to +25
trace: {
span_id: '', //TODO: This is a bug! We should expect.stringMatching(/[a-f0-9]{16}/) instead of ''
trace_id: expect.stringMatching(/[a-f0-9]{32}/),
},
Copy link
Member Author

Choose a reason for hiding this comment

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

This is likely an SDK bug that surfaced through this test. I'll look into this but don't want to further block adding the tests. When we fix this, the test will fail and we'll adjust it anyway.

@Lms24 Lms24 requested review from lforst and s1gr1d August 14, 2024 10:34
@Lms24 Lms24 marked this pull request as ready for review August 14, 2024 11:57
@Lms24 Lms24 self-assigned this Aug 14, 2024
@Lms24 Lms24 merged commit 5c08d03 into develop Aug 14, 2024
128 checks passed
@Lms24 Lms24 deleted the lms/test-e2e-astro-4 branch August 14, 2024 14:32
Zen-cronic pushed a commit to Zen-cronic/sentry-javascript that referenced this pull request Aug 26, 2024
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.

2 participants