From 2b4718f5ce464ae3314e75a574dcc41c21919a45 Mon Sep 17 00:00:00 2001 From: Johannes Klein Date: Thu, 26 Oct 2023 15:46:12 +0200 Subject: [PATCH] Remove navigation to obs without evidence for signed out user --- e2e/signedOut.e2e.js | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/e2e/signedOut.e2e.js b/e2e/signedOut.e2e.js index 211480c86..291019d63 100644 --- a/e2e/signedOut.e2e.js +++ b/e2e/signedOut.e2e.js @@ -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 ); - } ); } );