Commit 3b4e2e2
committed
test(Tasks): Add comprehensive test suite for Tasks component
- Add tests for Keyboard Navigation (ArrowUp, ArrowDown, boundary stops)
- Add tests for Hotkey Shortcuts ('a', 'c', 'd', 'e', 'f', 'p', 'r', 's', 't')
- Add tests for complete/delete hotkeys when dialog is already open
- Add tests for Sync button click and error toast on sync failure
- Add tests for LocalStorage persistence (tasksPerPage, lastSyncTime)
- Add tests for sync time auto-update interval
- Add tests for error handling (add task, edit task failures)
- Add tests for mouse hover handlers (mouseEnter, mouseLeave)
- Updates: #3001 parent dda60f9 commit 3b4e2e2
3 files changed
Lines changed: 1478 additions & 482 deletions
Lines changed: 9 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
787 | 787 | | |
788 | 788 | | |
789 | 789 | | |
790 | | - | |
| 790 | + | |
| 791 | + | |
| 792 | + | |
| 793 | + | |
791 | 794 | | |
792 | 795 | | |
793 | 796 | | |
| |||
1221 | 1224 | | |
1222 | 1225 | | |
1223 | 1226 | | |
1224 | | - | |
| 1227 | + | |
| 1228 | + | |
| 1229 | + | |
| 1230 | + | |
1225 | 1231 | | |
1226 | 1232 | | |
1227 | 1233 | | |
| |||
1449 | 1455 | | |
1450 | 1456 | | |
1451 | 1457 | | |
| 1458 | + | |
1452 | 1459 | | |
1453 | 1460 | | |
1454 | 1461 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
| 79 | + | |
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
| |||
0 commit comments