From 02fca14491834441dcd01342daa377fcff2f9a0c Mon Sep 17 00:00:00 2001 From: Mark <mark@openappstack.net> Date: Thu, 26 Sep 2019 14:31:43 +0200 Subject: [PATCH] Make behave test more explicit --- test/login_logout/test/behave/features/login.feature | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/login_logout/test/behave/features/login.feature b/test/login_logout/test/behave/features/login.feature index e1dfe08..156c338 100644 --- a/test/login_logout/test/behave/features/login.feature +++ b/test/login_logout/test/behave/features/login.feature @@ -17,4 +17,5 @@ Scenario: Login with a valid user with access to application And I click on the button "input#submit" Then I wait on element "input#password" for 1000ms to not exist And I expect that element "input#username" does not exist - And I expect that element "body" contains any text + And I expect that the path is "/callback" + And I expect that element "body" contains the text "access_token" -- GitLab