diff --git a/login_provider/test/behave/features/login.feature b/login_provider/test/behave/features/login.feature
index b7bf5492e6452d7c54e79b36b3d394129b9cc92f..3fe398857bf9eff3baafabf8dcc6ff9a2353bd91 100644
--- a/login_provider/test/behave/features/login.feature
+++ b/login_provider/test/behave/features/login.feature
@@ -16,5 +16,5 @@ Scenario: Login with a valid user
     When I enter the "email" in the inputfield "input#email"
     And I enter the "password" in the inputfield "input#password"
     And I click on the button "input#submit"
-    And I wait on element "input#password" for 1000ms to not exist
-    Then I expect that element "input#email" does not exist
+    Then I wait on element "input#password" for 1000ms to not exist
+    And I expect that element "input#email" does not exist