From 0fde4e5f77f023edf62afa113a626bb23797f7ef Mon Sep 17 00:00:00 2001 From: Johannes Klein Date: Fri, 12 Jun 2026 13:35:07 +0200 Subject: [PATCH] Remove unused code --- tests/helpers/addObsBottomSheet.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tests/helpers/addObsBottomSheet.js b/tests/helpers/addObsBottomSheet.js index a51aa4940..20d40e471 100644 --- a/tests/helpers/addObsBottomSheet.js +++ b/tests/helpers/addObsBottomSheet.js @@ -1,6 +1,5 @@ import { act, - // fireEvent, screen, userEvent, waitFor, @@ -151,6 +150,7 @@ export async function takeStandardCameraPhotoAndConfirm() { } }, { timeout: 10_000 } ); } + async function pressObsEditSaveButton() { await actor.press( await screen.findByTestId( "ObsEdit.saveButton" ) ); } @@ -175,9 +175,6 @@ async function confirmObsEditWarningSheets() { export async function saveObsEditObservation( _options = {} ) { await pressObsEditSaveButton(); await confirmObsEditWarningSheets(); - // if ( !options.skipMyObsWait ) { - // await waitForMyObservationsScreen(); - // } } /** Waits until at least one observation appears on the My Obs grid. */