We already implemented the BDD feature: login ,and scenario: wrong login, successfully login, now, use keycloak to implement this:
|
Scenario: Login with wrong credentials shows an error message |
|
Given I am on the login page |
|
When I enter username "admin" and password "wrongpwd" |
|
And I click the login button |
|
Then I should see an error message |
For BDD, please ready guide here: https://github.com/Greenstand/Greenstand-Overview/blob/master/BDD-GUIDE.md
We already implemented the BDD feature: login ,and scenario: wrong login, successfully login, now, use keycloak to implement this:
treetracker-admin-client/features/login.feature
Lines 3 to 7 in 87b2853
For BDD, please ready guide here: https://github.com/Greenstand/Greenstand-Overview/blob/master/BDD-GUIDE.md