test: close the remaining gaps and raise the thresholds

Pushes lines from 95.2% to 98.1% and branches from 85.2% to 89.9%, mostly
in the release-notes modal, the reservation overlay, the journey entry sheet
and the trip dialogs.
This commit is contained in:
Maurice
2026-07-29 10:24:39 +02:00
committed by Maurice
parent b80bd3992b
commit 02ad6c3d16
27 changed files with 3332 additions and 77 deletions
@@ -991,7 +991,8 @@ describe('TodoListPanel — mobile layout', () => {
it('FE-COMP-TODO-078: the mobile new task sheet inherits the active list filter', async () => {
const items = [buildTodoItem({ id: 60, name: 'Task', category: 'Errands', checked: 0 })];
const { rerender } = render(<TodoListPanel tripId={1} items={items} addItemSignal={0} />);
clickFilter('Errands');
// On mobile the list filter is icon-only, so the label lives in the title.
fireEvent.click(screen.getByTitle('Errands'));
rerender(<TodoListPanel tripId={1} items={items} addItemSignal={1} />);
await screen.findByText('Create task');