[SYNTH-26796] Document JS assertion truncation in Privacy option#36900
Open
Samsam19191 wants to merge 3 commits into
Open
[SYNTH-26796] Document JS assertion truncation in Privacy option#36900Samsam19191 wants to merge 3 commits into
Samsam19191 wants to merge 3 commits into
Conversation
Document that the 'Do not save response body' Privacy option on HTTP API tests also truncates the error message of failed JavaScript assertions. Align the bullet wording with the equivalent precedent on the browser and mobile test pages.
Contributor
Preview links (active after the
|
janine-c
approved these changes
May 21, 2026
Contributor
janine-c
left a comment
There was a problem hiding this comment.
Looks great! Just some very minor formatting stuff to make this read a little more easily 🙂
Co-authored-by: Janine Chan <64388808+janine-c@users.noreply.github.com>
Co-authored-by: Janine Chan <64388808+janine-c@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Documents that the Do not save response body Privacy option on HTTP API tests also truncates the error message of failed JavaScript assertions, and brings the bullet's surrounding wording in line with the equivalent bullet on the browser and mobile test pages.
Motivation
Companion to web-ui PR https://github.com/DataDog/web-ui/pull/308938, which updates the in-app tooltip for the same option. The current docs only mention the "don't save the body" half of the behavior; this PR adds the JS-assertion-truncation half so customers know how to opt into that protection. Tracked in SYNTH-26796.
Additional notes
User-facing copy only — no code, schema, or layout changes.