Updated visibility label copy for clarity #25559
Annotations
4 errors, 1 warning, and 1 notice
test/unit/hooks/useVisibilityToggle.test.js > useVisibilityToggle > should toggleEmail and be able to update the node:
packages/koenig-lexical/test/unit/hooks/useVisibilityToggle.test.js#L80
AssertionError: expected 'Only shown on web' to be 'Shown on web only' // Object.is equality
- Expected
+ Received
- Shown on web only
+ Only shown on web
❯ test/unit/hooks/useVisibilityToggle.test.js:80:35
|
test/unit/hooks/useVisibilityToggle.test.js > useVisibilityToggle > should toggleWeb and be able to update the node:
packages/koenig-lexical/test/unit/hooks/useVisibilityToggle.test.js#L94
AssertionError: expected 'Only shown in email' to be 'Shown in email only' // Object.is equality
- Expected
+ Received
- Shown in email only
+ Only shown in email
❯ test/unit/hooks/useVisibilityToggle.test.js:94:35
|
test/unit/hooks/useVisibilityToggle.test.js > useVisibilityToggle > should toggleSegment and be able to update the node:
packages/koenig-lexical/test/unit/hooks/useVisibilityToggle.test.js#L108
AssertionError: expected 'Shown on web, and to free subscribers…' to be 'Shown on web and email to free subscr…' // Object.is equality
- Expected
+ Received
- Shown on web and email to free subscribers
+ Shown on web, and to free subscribers in email
❯ test/unit/hooks/useVisibilityToggle.test.js:108:35
|
Node 20.11.1
Process completed with exit code 1.
|
🎭 Playwright Run Summary
4 passed (9.3s)
|
Node 20.11.1
No files were found with the provided path: playwright-report. No artifacts will be uploaded.
|