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

Add valid login test

parent 236782ba
No related branches found
No related tags found
1 merge request!2Login and logout
Pipeline #125 failed with stages
in 5 minutes and 21 seconds
......@@ -8,3 +8,13 @@ Scenario: Open the login interface
Then I wait on element "input#email" for 1000ms to be visible
And I expect that element "input#password" is visible
And I expect that element "input#submit" is visible
Scenario: Login with a valid user
Given the element "input#email" is visible
And the element "input#password" is visible
And the element "input#submit" is visible
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
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