Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Feature: Add brand admin
- As a super user
- In order to delegate a power of brand management
- I want to create brand admins
- Background:
- Given I am logged in as a super admin
- And I am on admin panel page
- Scenario: Super admin adds a new brand admin and associates him with a brand
- Given I follow "Neuen Nutzer anlegen"
- When I fill in the following:
- | First name | Otto |
- | Last name | von Bismarck |
- | Email | bismarck@biotherm.de |
- And I choose " Biotherm Homme"
- And I press "Create user"
- Then I should be on admin panel page
- And I should see "Otto von Bismarck"
- And email containing password reset link should be sent to "bismarck@biotherm.de"
- Scenario: Newly added brand admin logs in after password reset
- Given a brand admin "bismarck@biotherm.de" is added to brand "Biotherm"
- And a user "bismarck@biotherm.de" resets his password to "123456"
- And I am not logged in
- When I sign in as "bismarck@biotherm.de/123456"
- Then login should be successful
- And I should be on "Chanel" brand products list
- Scenario: Super admin tries to add a new brand admin without providing mandatory data
- Given I follow "Neuen Nutzer anlegen"
- And I press "Create user"
- Then I should see "Fehler"
- And I should not be on admin panel page
Add Comment
Please, Sign In to add comment