getsentry / rrweb

record and replay the web
https://www.rrweb.io/
Other
9 stars 4 forks source link

test: Add tests for masking of sensitive data #165

Closed mydea closed 5 months ago

mydea commented 5 months ago

This tests masking of initial & updated values for password & credit card fields.

You can see that for now credit card data is not masked, which demonstrates the current behavior. In a future PR we can then verify that our fixed masking is working.

ref https://github.com/getsentry/sentry-javascript/issues/10258

mydea commented 5 months ago

Should we add a test for dynamically inserted elements as well?

I'll add some in the follow up PR!