Skip to content

[SYNTH-26796] Document JS assertion truncation in Privacy option#36900

Open
Samsam19191 wants to merge 3 commits into
masterfrom
sami.taider/SYNTH-26796-privacy-js-assertion-truncation
Open

[SYNTH-26796] Document JS assertion truncation in Privacy option#36900
Samsam19191 wants to merge 3 commits into
masterfrom
sami.taider/SYNTH-26796-privacy-js-assertion-truncation

Conversation

@Samsam19191
Copy link
Copy Markdown

@Samsam19191 Samsam19191 commented May 21, 2026

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.

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.
@github-actions
Copy link
Copy Markdown
Contributor

Preview links (active after the build_preview check completes)

Modified Files

@Samsam19191 Samsam19191 marked this pull request as ready for review May 21, 2026 13:45
@Samsam19191 Samsam19191 requested a review from a team as a code owner May 21, 2026 13:45
Copy link
Copy Markdown
Contributor

@janine-c janine-c left a comment

Choose a reason for hiding this comment

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

Looks great! Just some very minor formatting stuff to make this read a little more easily 🙂

Comment thread content/en/synthetics/api_tests/http_tests.md Outdated
Comment thread content/en/synthetics/api_tests/http_tests.md Outdated
Samsam19191 and others added 2 commits May 21, 2026 18:13
Co-authored-by: Janine Chan <64388808+janine-c@users.noreply.github.com>
Co-authored-by: Janine Chan <64388808+janine-c@users.noreply.github.com>
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