n/n Test Case | Test Case Description | Test Case Inputs | Expected Result | Step by Step Script |
---|---|---|---|---|
PR1 | Create adult Person with auth method.type = OTP |
| Response - 200 Send SMS on Create person request | Create, Approve, Sign person request |
PR2 | Create adult Person with auth method.type = OFFLINE |
| Response - 200 Download docs | Create, Approve, Sign person request |
PR3 | Create adult Person with auth method.type = THIRD_PERSON where third_person has auth method.type = OTP/ OFFLINE |
| Validation error - 422 `Adult person must be authorized OTP or OFFLINE` | Person2 - Create, Approve, Sign person request Person 1 - Create person request |
PR5 | Create adult Person with auth method.type = THIRD_PERSON where third_person doesn’t have active auth method |
| Validation error - 422 `Adult person must be authorized OTP or OFFLINE` | Person2 - Create, Approve, Sign person request. Reset auth method Person 1 - Create person request |
PR6 | Create child with auth method.type = OTP | |||
PR7 | Create child with auth method.type = OFFLINE | |||
PR8 | Create child with auth method.type = THIRD_PERSON where third_person has auth method.type = OTP | |||
PR9 | Create child with auth method.type = THIRD_PERSON where third_person has auth method.type = OFFLINE | |||
PR10 | Create child with auth method.type = THIRD_PERSON where third_person doesn’t have active auth method | |||
Update adult person with type = OTP | ||||
Update adult person with type = OFFLINE | ||||
Update adult person, who doesn’t have active auth method | Person.age > no_self_auth_age
| Validation error - 422 | Person1 - Create, Approve, Sign person request. Reset auth method Person 1 - Update person request |
ЕСОЗ - публічна документація
General
Content
Integrations