Navigation
These steps are used to navigate directly to a dashboard pages (without using the interface) and also to assert the good redirection
Given
Step to open a specific page directly without having to do that through interface
Parameters :
| Name | Type | Description | Values |
|---|---|---|---|
| pageName | {string} | Name of the page to navigate with criteria (like empty visit ...) |
|
To Do :
| Type | Description |
|---|---|
| DOC | add option in param |
| CODE | storage system and add a specific step for that (saveNumberOfElement could be added in the argument of this step def see https://alirahealth-engineering.atlassian.net/browse/NEXTG-6229) |
| SIMPLE | the number of options (merge cases (ex : empty list and list)) |
Then
Assert that the HCP is properly redirected to the right page
Parameters :
| Name | Type | Description | Values |
|---|---|---|---|
| pageName | {string} | Name of the page to navigate |
|
To Do :
| Type | Description |
|---|---|
| HARMONIZE | put lower case for Verification code + reorder cases |
Test that the user is properly redirected to the right activity page
Parameters :
| Name | Type | Description | Values |
|---|---|---|---|
| activity | {string} | Define the name of the activity and link it to patientID and activity ID |
|
To Do :
| Type | Description |
|---|---|
| DOC | add option in param |
| SIMPLE | simplify this step and make it more robust |