n/n | Description | Test case Inputs | Expected result | Step by Step Script | Actual Result | Actual Result FE |
---|---|---|---|---|---|---|
SU1 | register new person and new user |
| 200, create
|
| 200, create
|
| not correct redirect | |||
SU2 | register new user for existing unique mpi.person |
| 200, update
create
|
|
200, update
create
| 200, user is updated | |||||
SU2.1 | register new user for duplicated mpi.person |
| Error 409, "Person is duplicated" |
| Error 409, Person duplicated | no error |
SU3 | register new person for mithril.user |
| 200, create
|
update
|
|
| 200 | |||
SU4 | link existing person and existing mithril.user |
| 200, update
create
|
|
| 200 | |||
SU5 | existing matching person with status='INACTIVE' |
| create new mpi.person_id |
|
create new mpi.person_id | new person created | ||
SU6 | update user with status is_blocked=true |
| 401, User blocked |
| 401, User blocked |
create person
updated user, linked tax_idКОРИСТУВАЧА ЗАБЛОКОВАНО | ||
SU7 | input incorrect OTP |
|
422 Error $otp |
| 422, $otp | 422 person is created | |||
SU8 | input password doesn't meet Password policy requirements |
| Password Policy |
| 422, Password does not meet complexity requirements | Password does not meet complexity requirements |
SU9 | input email doesn't match jwt token |
| 409 Error (`Email in signed content is incorrect`) |
| 409, Email in signed content is incorrect | -- |
SU10 | input name doesn't match name from DS |
| 422 Error (`Input name doesn't match name from DS`) |
| 409, Input last_name doesn't match name from DS Input first_name doesn't match name from DS | first_name doesn't match name from DS |
SU11 | tax_id in payload<> DS.tax_id |
| 409 ('Invalid tax_id') |
| 409, Registration person and person that sign should be the same | -- |
SU12 | input area & settlement_id settlement_name & doesn't match uaadresses |
| 422 |
| 422, $addresses.area | -- |
SU13 | invalid dictionary fields |
| 422 $field |
| -- | |
SU14 | phone in authentication_methods doesn't match the phone with | invalid authentication_methods.phone | 422, 'incorrect authentication phone number' |
| 422, invalid code, $otp |