Skip to content
Snippets Groups Projects
Verified Commit 2734100d authored by Mark's avatar Mark
Browse files

Add Logout scenario to tests

parent e98751f1
No related branches found
No related tags found
1 merge request!2Login and logout
...@@ -18,3 +18,10 @@ Scenario: Login with a valid user ...@@ -18,3 +18,10 @@ Scenario: Login with a valid user
And I click on the button "input#submit" And I click on the button "input#submit"
Then I wait on element "input#password" for 1000ms to not exist Then I wait on element "input#password" for 1000ms to not exist
And I expect that element "input#email" does not exist And I expect that element "input#email" does not exist
Scenario: Logout
Given the element "input#submit" is visible
And the element "input#submit" contains the text "Logout"
When I click on the element "input#submit"
Then I wait on element "input#email" for 1000ms to exist
And I expect that element "input#password" does exist
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment