n/n | Description | Test case Inputs | Expected result | Step by Step Script | Actual Result |
---|
SU1 | register new person and new user | - valid signed content
- correct OTP
- valid password
| 200, create - person
- user (tax_id, mpi)
- user_role
- authentification_factor
- token (access_token)
| - follow the link
- fill data
- input sms
- input password
| - person_id is null
- 2fa_access token instead of access_token
|
SU2 | register new user for existing mpi.person | - valid signed content
- correct OTP
- valid password
| 200, update - person (change updated_at)
create - user (tax_id, mpi)
- user_role
- authentification_factor
- token (access_token)
| - follow the link
- fill data
- input sms
- input password
| - if found more than one person - return mistake, not update the first one as it is now
|
SU3 | register new person for mithril.user | - valid signed content
- correct OTP
- valid password
| 200, create - person (change updated_at)
- user_role
- authentification_factor
- token (access_token)
update | - follow the link
- fill data
- input sms
- input password
| - while updating user - person_id is null
- factor is not updated
|
SU4 | link existing person and existing mithril.user | - valid signed content
- correct OTP
- valid password
| 200, update - user (tax_id, mpi)
- person (change updated_at)
create - user_role
- authentification_factor
- token (access_token)
| - follow the link
- fill data
- input sms
- input password
| - while updating user - person_id is null
- factor is not updated
|
SU5 | existing matching person with status='INACTIVE' | - valid signed content
- correct OTP
- valid password
| create new mpi.person_id | - follow the link
- fill data
- input sms
- input password
| update current person |
SU6 | update user with status is_blocked=true | - valid signed content
- correct OTP
- valid password
| 401, User blocked | - follow the link
- fill data
- input sms
- input password
| 401, User blocked, created person, updated user |
SU7 | input incorrect OTP | - valid signed content
- valid password
- incorrect OTP
| 403 Error (`Invalid verification code`) | - follow the link
- fill data
- input sms
- input password
|
|
SU8 | input password doesn't meet Password policy requirements | - valid signed content
- invalid password
- correct OTP
| Password Policy | - follow the link
- fill data
- input sms
- input password
|
|
SU9 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|