2022-08-31 13:02:33 +02:00
|
|
|
@api
|
|
|
|
|
Feature: an user changes its own password
|
2023-04-17 17:05:12 +05:45
|
|
|
As a user
|
|
|
|
|
I want to change my password
|
|
|
|
|
So that I can use new combination as password
|
2022-11-01 15:13:14 +05:45
|
|
|
|
2023-03-28 15:11:41 +05:45
|
|
|
Scenario Outline: change own password
|
|
|
|
|
Given user "Alice" has been created with default attributes and without skeleton files
|
|
|
|
|
When the user "Alice" changes its own password "<currentPassword>" to "<newPassword>" using the Graph API
|
|
|
|
|
Then the HTTP status code should be "<code>"
|
|
|
|
|
Examples:
|
|
|
|
|
| currentPassword | newPassword | code |
|
|
|
|
|
| 123456 | validPass | 204 |
|
|
|
|
|
| 123456 | кириллица | 204 |
|
|
|
|
|
| 123456 | 密码 | 204 |
|
|
|
|
|
| 123456 | ?&^%0 | 204 |
|
|
|
|
|
| 123456 | | 400 |
|
|
|
|
|
| 123456 | 123456 | 400 |
|
|
|
|
|
| wrongPass | 123456 | 400 |
|
|
|
|
|
| | validPass | 400 |
|