mirror of
https://github.com/jjbrunton/Sauci.git
synced 2026-11-01 18:19:43 +00:00
fix(acquisition): use recognized privacy markers
This commit is contained in:
1 parent
4a57f31615
commit
0f9c9c2e15
5 files changed
+17
-6
No files matched your search
@@ -73,11 +73,12 @@ describe('/join/[code] JoinClient', () => {
|
||||
expect(source).not.toContain('Neither of you sees the other’s individual answers.')
|
||||
})
|
||||
|
||||
it('marks the invite-code surface out of PostHog DOM capture and replay', async () => {
|
||||
it('uses PostHog-recognized selectors to exclude the invite-code DOM from capture and replay', async () => {
|
||||
const source = await readFile(componentPath, 'utf8')
|
||||
|
||||
expect(source).toContain('data-ph-no-capture')
|
||||
expect(source).toContain('data-ph-mask')
|
||||
expect(source).toContain('ph-no-capture ph-mask')
|
||||
expect(source).not.toContain('data-ph-no-capture')
|
||||
expect(source).not.toContain('data-ph-mask')
|
||||
})
|
||||
|
||||
it('shows a clear fallback message for a malformed invite code', async () => {
|
||||
|
||||
Reference in new issue
Block a user