Skip to content

mask secret data rows in data-driven titles - #5693

Merged
DavertMik merged 1 commit into
4.xfrom
fix/mask-secret-data-rows
Sep 3, 2026
Merged

mask secret data rows in data-driven titles#5693
DavertMik merged 1 commit into
4.xfrom
fix/mask-secret-data-rows

Conversation

@DenysKuchma

Copy link
Copy Markdown
Collaborator

Summary

Secret used as a whole data row leaks its value into the test title via toString(): Data([new Secret('pw')]).Scenario('Login', ...) → title Login | pw.

maskSecretInTitle only catches the {"_secret":"..."} JSON form (nested secrets in object rows), not bare secret rows.

@DavertMik
DavertMik merged commit c780f9a into 4.x Sep 3, 2026
13 checks passed
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