From 4b54a00d896853be965743ab8e1f289d91c55467 Mon Sep 17 00:00:00 2001 From: Maurice Date: Thu, 3 Dec 2026 23:16:21 +0100 Subject: [PATCH] test(mobile): align transport and formatting checks --- client/scripts/format-baseline.json | 1 - client/tests/unit/mobile/trip/MTransportFormSheet.test.tsx | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/client/scripts/format-baseline.json b/client/scripts/format-baseline.json index 6a1713f9e..4c6852a75 100644 --- a/client/scripts/format-baseline.json +++ b/client/scripts/format-baseline.json @@ -1330,7 +1330,6 @@ "src/mobile/screens/trip/MTripShell.tsx", "src/mobile/screens/trip/dockTabs.test.ts", "src/mobile/screens/trip/dockTabs.ts", - "src/mobile/screens/trip/lib/dayNotes.ts", "src/mobile/screens/trip/map/MMapArea.tsx", "src/mobile/screens/trip/places/MPlacesBrowser.tsx", "src/mobile/screens/trip/places/MPlacesBulkCategorySheet.tsx", diff --git a/client/tests/unit/mobile/trip/MTransportFormSheet.test.tsx b/client/tests/unit/mobile/trip/MTransportFormSheet.test.tsx index b39480803..b3c95e404 100644 --- a/client/tests/unit/mobile/trip/MTransportFormSheet.test.tsx +++ b/client/tests/unit/mobile/trip/MTransportFormSheet.test.tsx @@ -173,7 +173,7 @@ const transportTypePicker = () => screen.getByRole('button', { name: 'reservatio function chooseTransportType(type: string) { fireEvent.click(transportTypePicker()) - fireEvent.click(screen.getByRole('button', { name: `reservations.type.${type}`, exact: true })) + fireEvent.click(screen.getByRole('button', { name: `reservations.type.${type}` })) } async function submit(label = 'common.add') {