Commit 3f838d2
test(4-files): repair 4 failing test suites
FeedbackModal (5 fails): FileDropzone migrated the file input behind a
role=button wrapper div; the hidden input had no accessible label, so
getByLabelText finds the outer div not the input. Move aria-label from
the outer div onto the input so fireEvent.change reaches the onChange
handler. Thumbnails render correctly once the input is findable.
purchases-page.misc-filter (1 fail): showApprovalFilter = useIsLabMode()
=== true, but useIsLabMode was not mocked, so the Awaiting-approval chip
was filtered out before render. Add useIsLabMode mock returning true --
the suite tests a member in a lab-mode folder, which is the only context
where the chip is visible.
WorkbenchExperimentsPanel.sharedFilter (1 fail): data-tour-target was
stamped on the board-view card wrapper but not on the list-view row.
Default view is list, so the section-6.16 cursor-demo anchors were absent.
Mirror the labTourTarget logic onto the list row so the cursor demo can
find the anchors regardless of view mode.
InlineMarkdownEditor.loro: already passing (5/5) -- no changes.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 646b015 commit 3f838d2
3 files changed
Lines changed: 17 additions & 1 deletion
File tree
- frontend/src
- app/__tests__
- components
- ui
- workbench
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
95 | 102 | | |
96 | 103 | | |
97 | 104 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
110 | | - | |
111 | 110 | | |
112 | 111 | | |
113 | 112 | | |
| |||
179 | 178 | | |
180 | 179 | | |
181 | 180 | | |
| 181 | + | |
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
| |||
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
839 | 839 | | |
840 | 840 | | |
841 | 841 | | |
| 842 | + | |
| 843 | + | |
| 844 | + | |
| 845 | + | |
| 846 | + | |
| 847 | + | |
| 848 | + | |
| 849 | + | |
| 850 | + | |
842 | 851 | | |
843 | 852 | | |
844 | 853 | | |
| |||
0 commit comments