feat(editor): one tab order, vertical Plus list with the error count

This commit is contained in:
bchanot committed 2026-11-15 15:52:28 +01:00
1 parent b41c24b29d
commit ff21b0315e
11 files changed
+155 -75

No files matched your search

+4 -3
View File
@@ -256,10 +256,11 @@ describe('the guards of a width change', () => {
expect(document.activeElement).toBe(tab('Général'))
})
it('the focus of a typed field goes to « Plus » when the shown tab left the row', async () => {
it('the focus of an editing control goes to « Plus » when the shown tab left the row', async () => {
const user = await mount()
await user.click(tab('Général'))
await user.click(byId('general-name-fr'))
await user.click(tab('Références'))
const add = button('Ajouter une référence')
act(() => add.focus())
cross(500)
expect(document.activeElement).toBe(button('Plus'))
})