Skip to end of metadata
Go to start of metadata
You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 4
Next »
n/n Test Cases | Test Cases Description | Test Cases Inputs | Expected Results | Step by Step Scripts | Actual Result |
---|
ER1 | Register new Doctor employee by Doctor | - party - New
- employee_type - Doctor
- specialities - PEDIATRICIAN
| Response 401 - access_denied - Invalid access token
| - Get doc authorize token
- Authorize scopes 4 doc
- Exchange grant token 4 doc
- Create employee request
|
|
ER2 | Register new Doctor employee by Owner | - party - New
- employee_type - Doctor
- specialities - PEDIATRICIAN
- email - your email
| Response 200 - sent link to email "Запрошення до співпраці з eHealth"
- Employee saved in DB with status APPROVED
| - Get owner authorize token
- Authorize scopes owner
- Exchange grant token owner
- Create employee request
- Pass register steps via link in email
|
|
ER3 | Register old employee by Owner | - party - Old
- employee_type - New
- specialities - no
- email - your email
| Response 200 ? | - Get owner authorize token
- Authorize scopes owner
- Exchange grant token owner
- Create employee request
- Pass register steps via link in email
|
|
ER4 | Create employee request W/O authorization | - party - New
- employee_type - Doctor
- specialities - PEDIATRICIAN
- Authorization Header - No
| Response 401 | - Create employee request - W/O authorization
|
|
ER5 | Create employee request for different legal entity | - legal_entity_id - New
- division_id - Old
| Response 4** | - Get owner authorize token
- Authorize scopes owner
- Exchange grant token owner
- Create employee request by another legal_entity
|
|
ER6 | Create Employee request without the block "Doctor" | - party - New
- employee_type - Doctor
- Doctor - No
| Response 422 | - Get owner authorize token
- Authorize scopes owner
- Exchange grant token owner
- Create employee request
|
|
ER7 | Create employee request with incorrect tax number | - party - New
- employee_type - Doctor
- tax_id - 00000000
| Response 422 | - Get owner authorize token
- Authorize scopes owner
- Exchange grant token owner
- Create employee request
|
|
ER8 | Create employee request with incorrect employee_type | - employee_id - f7693095-157d-4911-b021-c0d2f819daee
- employee_type - OWNER
- Doctor - No
| Response 409 - employee_type doens't match
| - Get owner authorize token
- Authorize scopes owner
- Exchange grant token owner
- Create employee request
|
|