-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
feat(replay): Upgrade to [email protected]
#7133
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(replay): Upgrade to [email protected]
#7133
Conversation
size-limit report 📦
|
it('maskAllText takes precedence over maskTextSelector when specifiying maskAllText:true', async () => { | ||
const { replay } = await mockSdk({ replayOptions: { maskAllText: true, maskTextSelector: '[custom]' } }); | ||
|
||
expect(replay['_recordingOptions'].maskTextSelector).toBe(MASK_ALL_TEXT_SELECTOR); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So this fixes another bug where maskTextSelector
was wrong when maskAllText:true
, this should have included the default mask selectors. (I guess this doesn't really matter since it's all masked anyway).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
- feat: Add `maskAllText` option - feat: With maskAllText, mask the attributes: placeholder, title, `aria-label` - feat: fix masking on `textarea`
428d191
to
0454d8f
Compare
maskAllText
optionaria-label
textarea