Fixed tests

This commit is contained in:
Yaron Budowski
2025-06-17 01:39:04 +01:00
parent 13691429e3
commit bae65ddeb7

View File

@@ -282,11 +282,11 @@ describe( "from ObsEdit with human observation", ( ) => {
expect( usePermissionsButton ).toBeFalsy( );
} );
it( "should show use location button if unsynced obs has no location", async ( ) => {
it( "should not show use location button if unsynced obs has no location", async ( ) => {
const { observations } = await setupAppWithSignedInUser( );
await navigateToSuggestionsForObservationViaObsEdit( observations[0] );
const useLocationButton = await screen.findByText( /USE LOCATION/ );
expect( useLocationButton ).toBeVisible( );
const useLocationButton = screen.queryByText( /USE LOCATION/ );
expect( useLocationButton ).toBeFalsy( );
} );
it( "should show ignore location button if unsynced obs has location", async ( ) => {