User story
- As a user I want to login into the application (MAIN) So that the application (MAIN) can check if I can share my medical data with the Belgian eHealth network.
Case 1: the user has given his consent
UC dependencies:
Initial data:
- the user must have given his consent to ehealth
Test script ID | Test Actions | Assertion |
---|
Comment | ATH-TS |
---|
Consent-101/102 |
Seq | Actor | Action | Automatic/Manual |
---|
1 | MAIN | Start an identification action | Automatic: could be automate but cannot be generic since the applications to test have all a different layout. | 2 | CSAM | Log in with eid / TOTP / itsME | see TS-001 | 3 | eHealth-IDP | Choose a profile (citizen or healthcare giver) | Could be difficult to automate as CSAM and MAIN are different applications | 4 | MAIN | Display the status consent of the user | Could be difficult to automate as CSAM and MAIN are different applications |
| When the test actions are performed the following assertions must be checked: MAIN: - the application must display that the user has given his consent to eHealth.
|
Case 2: the user has not given his consent
Initial data:
- the user hasn't given his consent to ehealth
Test script ID | Test Actions | Assertion |
---|
Consent-101/102 |
-16 |
Seq | Actor | Action | Automatic/Manual |
---|
1 | MAIN | Start an identification action | Automatic: could be automate but cannot be generic since the applications to test have all a different layout. | 2 | CSAM | Log in with eid / TOTP / itsME | see TS-001 | 3 | eHealth-IDP | Choose a profile (citizen or healthcare giver) | Could be difficult to automate as CSAM and MAIN are different applications | 4 | MAIN | Display the status consent of the user | Could be difficult to automate as CSAM and MAIN are different applications |
| When the test actions are performed the following assertions must be checked: MAIN: - the application must display that the user hasn't given his consent to eHealth.
|
Test case specification
As the health services invoked are different if you are in a patient perspective or in a healthcare giver perspective, 2 test scripts are available:
Consent-101: is used for testing the service from a patient perspective (user logged as a citizen)
Consent-102: is used for testing the service from healthcare giver perspective (user logged as a healthcare giver (e.g. doctor, nurse,...))