Logo: Relish

  1. Sign in

Project: Tcat

Logout

Background
Given
I have unsaved changes in a case edit window
And
I have chosen to logout
And
I have been prompted with a logout confirmation
Scenarios
LGT01 - Logout with unsaved changes in a case edit window - no data loss
Given
I have confirmed logout
And
The case edit window with unsaved changes has been made the foreground window
And
I have been prompted with a lost data confirmation
When
I choose not to lose my unsaved data
Then
The logout process should be cancelled
And
I should not lose the unsaved data in the case edit window
LGT02 - Logout with unsaved changes in a case edit window - data loss
Given
I have confirmed logout
And
The case edit window with unsaved changes has been made the foreground window
And
I have been prompted with a lost data confirmation
When
I choose to lose my unsaved data
Then
The case edit window should be closed
And
I should lose the unsaved data in the case edit window
And
The logout process should continue
LGT03 - Logout with unsaved changes in more than one case edit window
Given
I have confirmed logout
And
I have the following case edit windows
Window Has Edits
PatientA Y
PatientB Y
PatientC N
And
The case edit window with unsaved changes has been made the foreground window
And
I Prompted About Data Loss prompted about data loss
When
I have chosen to Data Loss Action
Then
The case edit window should be Window Action
And
The logout process should Logout Action
Examples:
Window Prompted About Data Loss Data Loss Action Window Action Logout Action
PatientA Have Been Lose Changes Close Continue Logout
PatientB Have Been Not Lose Changes Not Close Abort Logout
PatientC Have Not Been N/A Close Continue Logout

Last published about 6 years ago by Mike Nacey.