|
1 | 1 | # Markdown Viewer/Editor — Integration Tests To Create |
2 | 2 |
|
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 | | - |
10 | 3 | ## Checkbox (Task List) Sync |
11 | 4 | - [ ] Clicking checkbox in edit mode toggles it and syncs to CM source ([x] ↔ [ ]) |
12 | 5 | - [ ] Checkboxes enabled in edit mode, disabled in reader mode |
13 | 6 | - [ ] Checkbox toggle creates an undo entry |
14 | 7 | - [ ] Undo reverses checkbox toggle |
15 | 8 |
|
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 | | - |
28 | 9 | ## Empty Line Placeholder |
29 | 10 | - [x] Empty paragraph in edit mode shows hint class |
30 | 11 | - [x] Hint only shows in edit mode, not reader mode |
|
0 commit comments