Skip to content

Commit b270054

Browse files
committed
chore(mdviewer): update test checklist for entitlement gating coverage
1 parent 17eb6f1 commit b270054

1 file changed

Lines changed: 0 additions & 19 deletions

File tree

src-mdviewer/to-create-tests.md

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,11 @@
11
# Markdown Viewer/Editor — Integration Tests To Create
22

3-
## Edit Mode & Entitlement Gating
4-
- [ ] Free user sees Edit button → clicking shows upsell dialog
5-
- [ ] Pro user sees Edit button → clicking enters edit mode
6-
- [ ] Entitlement change (free→pro) switches to edit mode automatically
7-
- [ ] Entitlement change (pro→free) switches to reader mode automatically
8-
- [ ] Edit/Reader toggle works correctly in the iframe toolbar, ie the toolbar icons show up and disappear accordingly.
9-
103
## Checkbox (Task List) Sync
114
- [ ] Clicking checkbox in edit mode toggles it and syncs to CM source ([x][ ])
125
- [ ] Checkboxes enabled in edit mode, disabled in reader mode
136
- [ ] Checkbox toggle creates an undo entry
147
- [ ] Undo reverses checkbox toggle
158

16-
## Format Bar & Link Popover
17-
- [x] Format bar element exists in DOM with bold/italic/underline/link buttons
18-
- [x] Link popover element exists in DOM
19-
- [x] Adding link in CM shows it in md viewer
20-
- [x] Editing link URL in CM updates it in md viewer
21-
- [x] Removing link markup in CM removes link from md viewer
22-
- [ ] Format bar appears on text selection (visual — needs real mouse interaction)
23-
- [x] Link popover edit URL via popover syncs to CM
24-
- [x] Link popover remove link via popover syncs to CM
25-
- [x] Link popover URL opens in default browser (not Electron window)
26-
- [ ] Escape in lang picker only dismisses picker, refocuses editor
27-
289
## Empty Line Placeholder
2910
- [x] Empty paragraph in edit mode shows hint class
3011
- [x] Hint only shows in edit mode, not reader mode

0 commit comments

Comments
 (0)