Files

20 lines
988 B
Gherkin
Raw Permalink Normal View History

Feature: an user changes its own password
As a user
I want to change my password
So that I can use new combination as password
2024-06-10 11:49:27 +05:45
2023-03-28 15:11:41 +05:45
Scenario Outline: change own password
Given user "Alice" has been created with default attributes
When the user "Alice" changes its own password "<current-password>" to "<new-password>" using the Graph API
Then the HTTP status code should be "<http-status-code>"
2023-03-28 15:11:41 +05:45
Examples:
| current-password | new-password | http-status-code |
| 123456 | validPass | 204 |
| 123456 | кириллица | 204 |
| 123456 | 密码 | 204 |
| 123456 | ?&^%0 | 204 |
| 123456 | | 400 |
| 123456 | 123456 | 400 |
| wrongPass | 123456 | 400 |
| | validPass | 400 |