User story
- As a user I want to change my
mandate - profile So that the application (MAIN) could display relevant information related to my profile
Initial data/state:
- a mandate with a 3rd person must be defined with mandates-csam (MD-CSAM) application. The principal must give a mandate to the agent corresponding to a profile defined into the application.
- The user must be logged out of MAIN (cf AUTH- TS-9003) in order to change his mandate
- Application profile configuration must be fill in (see Test Scripts: Athena)
Test script ID | Test Actions | Assertion |
---|
ATH-24007 |
Seq | Actor | Action | Automatic/Manual |
---|
1 | MAIN | Login into the application and choose the OLD mandate | Automatic: see TS-001 | 2 | MAIN |
|
starting an identification actionGlobal logout from the application | Automatic: could be |
|
automate automated but cannot be generic since the applications to test have all a different layout. See TS-003 |
|
2TEST3 | CSAM | authenticate himself with initialize a test loop based on the application profile configuration (mandate) N=1 | Automatic | Start a new identification action to choose the NEW mandate | Automatic: could be automated but cannot be generic since the applications to test have all a different layout. | 4 | CSAM | Login via |
|
eid / TOTP / itsME | Automatic: see TS |
|
5,6 or 7Manual
-001 | 5 | eHealth-IDP | Consult the list of mandates |
|
4 | CSAM | choose the Nth mandate (based on the application profile configuration) automate automated as CSAM and MAIN are different applications |
|
5 | TEST | check assertion on main | Automatic: could be automate but cannot be generic since the applications to test have all a different layout. (what to test ?)MAIN | Global logout from the application | Automatic: could be automate but cannot be generic since the applications to test have all a different layout. | 7 | TEST | if it remains mandate to test, goto 3 | automatic |
eHealth-IDP | Choose the NEW mandate | Could be difficult to automated as CSAM and MAIN are different applications | 7 | MAIN | / | / |
| When the test actions are performed |
In sequence 5, the following assertions must be checked: MAIN application: |
the - The application must display correct information/layout following the
|
mandate connected- chosen mandate (OLD and NEW ones)
eHealth endpoint: - The IAM session should be open
- The IDP session should be open with the corresponding
|
profile- mandate
- It redirects to the MAIN application
|