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

Refactor behave tests

parent 8c93ded2
No related branches found
No related tags found
1 merge request!5Service Integration
......@@ -10,8 +10,6 @@ Scenario: Open the oAuth application
Scenario: Login with a valid user with access to application
Given the element "input#username" is visible
And I expect that element "input#password" is visible
And I expect that element "input#submit" is visible
When I enter the "username" in the inputfield "input#username"
And I enter the "password" in the inputfield "input#password"
And I click on the button "input#submit"
......@@ -35,11 +33,14 @@ Scenario: Logout
And I expect that element "input#password" is visible
And I expect that element "input#submit" is visible
Scenario: Login with a valid user without access to an application
Scenario: Navigate to Login page after logout
When I open the URL "url"
Then I wait on element "input#username" 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 without access to an application
Given the element "input#username" is visible
When I enter the "username2" in the inputfield "input#username"
And I enter the "password" in the inputfield "input#password"
And I click on the button "input#submit"
......
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