Skip to content

docs(javascript): Update sentry-testkit capabilities - #18841

Open
zivl wants to merge 1 commit into
getsentry:masterfrom
zivl:docs/update-sentry-testkit-capabilities
Open

docs(javascript): Update sentry-testkit capabilities#18841
zivl wants to merge 1 commit into
getsentry:masterfrom
zivl:docs/update-sentry-testkit-capabilities

Conversation

@zivl

@zivl zivl commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

DESCRIBE YOUR PR

Updates the Sentry Testkit best-practices page to reflect the library's current capabilities. The page previously only documented error reports and transactions; sentry-testkit now captures a much wider range of Sentry event types and supports newer SDK versions.

  • Note support for the Sentry JavaScript SDK v8, v9, and v10
  • Add a "What You Can Capture" section covering structured logs, user feedback, and cron check-ins (with a note that the list keeps growing)
  • Document finding/filtering helpers (findReport, findReportByMessage, findTransaction, reportsWithTag, transactionsWithTag, isExist)
  • Document the awaitable waitFor* helpers for asynchronous events
  • Add a "Network Interception" section for testing without overriding the transport (E2E, Puppeteer, Playwright, browser-only, React Native)
  • Add the testkit.reset() between-tests pattern
  • Point usage-example links to the maintained docs site (https://zivl.github.io/sentry-testkit) instead of the GitHub repo

IS YOUR CHANGE URGENT?

Help us prioritize incoming PRs by letting us know when the change needs to go live.

  • Urgent deadline (GA date, etc.):
  • Other deadline:
  • None: Not urgent, can wait up to 1 week+

SLA

  • Teamwork makes the dream work, so please add a reviewer to your PRs.
  • Please give the docs team up to 1 week to review your PR unless you've added an urgent due date to it.
    Thanks in advance for your help!

PRE-MERGE CHECKLIST

Make sure you've checked the following before merging your changes:

  • Checked Vercel preview for correctness, including links
  • PR was reviewed and approved by any necessary SMEs (subject matter experts)
  • PR was reviewed and approved by a member of the Sentry docs team

Document current sentry-testkit features: expanded event capture (logs, feedback, cron check-ins), finding/filtering helpers, awaitable waitFor* methods, network interception, and SDK v8-v10 support. Point usage links to the maintained docs site.
@vercel

vercel Bot commented Jul 27, 2026

Copy link
Copy Markdown

@zivl is attempting to deploy a commit to the Sentry Team on Vercel.

A member of the Team first needs to authorize it.

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