|
Steps
|
Outcome |
|
|
|
Given User Vists Home Page and goes to Add Add|Modify Patient Page
|
SUCCESS |
5s 595ms |
|
When User Leaves mandatory fields without data on Add Patient Page
|
SUCCESS |
10s 515ms |
|
Then Save button deactivated until all mandatory fields are filled on Add Patient Page
|
SUCCESS |
052ms |
|
When User Completes all mandatory fields on Add Patient Page
|
SUCCESS |
2s 252ms |
|
Then Save button activated when all mandatory fields are filled on Add Patient Page
|
SUCCESS |
045ms |
|
When User Clicks Cancel on Add Patient Page
|
SUCCESS |
132ms |
|
Then Pop-up message appears, `Leave Site? Changes you made may not be saved` on Add Patient Page
|
SUCCESS |
1s 007ms |
|
When User Clicks Cancel to Dismis alert
|
SUCCESS |
022ms |
|
Then Patient Information form remains on Add Patient screen
|
SUCCESS |
194ms |
|
When User Clicks Save on Add Patient Page
|
SUCCESS |
12s 945ms |
|
Then A clear Add|Modify Patient form appears along with the message, `Save was successful` in green
|
SUCCESS |
162ms |
|
And User Goes to the bottom of the page and click Cancel and Returns to home page
|
SUCCESS |
400ms |
|
SUCCESS |
33.83s |