Remove navigation to obs without evidence for signed out user

This commit is contained in:
Johannes Klein
2023-10-26 15:46:12 +02:00
parent 0c29884bc0
commit 2b4718f5ce

View File

@@ -17,15 +17,4 @@ describe( "Signed out user", () => {
await waitFor( loginText ).toBeVisible( ).withTimeout( 10000 );
await expect( loginText ).toBeVisible( );
} );
it( "should add an observation without evidence", async () => {
const addObsButton = element( by.id( "add-obs-button" ) );
await waitFor( addObsButton ).toBeVisible( ).withTimeout( 10000 );
await addObsButton.tap( );
await expect( element( by.id( "evidence-text" ) ) ).toBeVisible( );
const obsWithoutEvidenceButton = element( by.id( "observe-without-evidence-button" ) );
await expect( obsWithoutEvidenceButton ).toBeVisible( );
await obsWithoutEvidenceButton.tap( );
await waitFor( element( by.id( "new-observation-text" ) ) ).toBeVisible( ).withTimeout( 10000 );
} );
} );