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(nuxt): Add tests for Vue component tracking #13633

Merged
merged 2 commits into from
Sep 12, 2024

Conversation

s1gr1d
Copy link
Member

@s1gr1d s1gr1d commented Sep 9, 2024

No description provided.

Copy link
Member

@Lms24 Lms24 left a comment

Choose a reason for hiding this comment

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

Thanks!

await page.goto(`/client-error`);

const rootSpan = await transactionPromise;
const errorButtonSpan = rootSpan.spans.find((span: Span) => span.description === 'Vue <<ErrorButton>>');
Copy link
Member

Choose a reason for hiding this comment

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

heads-up: After merging https://github.com/getsentry/sentry-javascript/pull/13543/files, the component name should only be wrapped with <Name> and not <<Name>> anymore. Probably best to rebase to latest develop and double-check.

@s1gr1d s1gr1d merged commit fa9fa5d into develop Sep 12, 2024
101 checks passed
@s1gr1d s1gr1d deleted the sig/nuxt-track-components branch September 12, 2024 14:46
@s1gr1d s1gr1d mentioned this pull request Sep 19, 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