[demo split #4449] 4/5 — Add debugger e2e scenarios#4535
[demo split #4449] 4/5 — Add debugger e2e scenarios#4535allspain wants to merge 1 commit intoallspain/debug-5296-e2e-frameworkfrom
Conversation
Original author: Thomas Watson <thomas.watson@datadoghq.com> (split of #4449) Co-authored-by: Thomas Watson <thomas.watson@datadoghq.com>
|
I have read the CLA Document and I hereby sign the CLA Rick Klein seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account. |
Bundles Sizes Evolution
🚀 CPU PerformancePending... 🧠 Memory PerformancePending... |
🎉 All green!❄️ No new flaky tests detected 🎯 Code Coverage (details) 🔗 Commit SHA: fa1a5c3 | Docs | Datadog PR Page | Give us feedback! |
What this PR contains (4/5 — E2E scenarios)
The actual debugger E2E scenarios. Builds on the framework changes from PR 3
and the package from PR 2.
Changes
test/e2e/scenario/debugger.scenario.ts— 7 scenarios covering:basic snapshot sending, argument capture, return-value capture,
exception capture on throw, template message evaluation with expression
segments, condition evaluation (both met and not-met), and RUM correlation.
test/apps/vanilla— adds@datadog/browser-debuggerimport andDEBUGGER_INITsupport so the debugger E2E tests work in npm setup.3 files, +318 / -2.
Tests
yarn test:e2e:init && yarn test:e2e -g "debugger".