fix(client): preserve explicit dialog focus and verify accessible controls

Keep the focused search for new places and title fields in explicitly opened dialogs. Assert the native ride badge button and the pointer grip tooltip in the existing tests.
This commit is contained in:
Maurice
2026-12-01 21:13:35 +01:00
parent e539860530
commit 756ef14b97
4 changed files with 6 additions and 5 deletions
@@ -269,7 +269,7 @@ describe('PackingListPanel', () => {
const { container } = render(<PackingListPanel tripId={1} items={items} sort="name" />);
// Only the category grip stays: the order of the categories is not the A to Z of their items.
const draggable = [...container.querySelectorAll('[draggable="true"]')];
expect(draggable.map((el) => el.getAttribute('aria-label'))).toEqual(['Drag to reorder the category']);
expect(draggable.map((el) => el.getAttribute('title'))).toEqual(['Drag to reorder the category']);
});
it('FE-COMP-PACKING-023: inline edit item name via pencil icon calls PUT', async () => {