Window management test plan - fieldenms/tg GitHub Wiki
Closing masters
As part of issues #916 and #1078 we have defined standard rules to closing dialogs. Here we have short wiki page to test these rules. These rules should be tested for both simple masters and compound master's main views and for standard edit action.
-
Not persistent
- Close -- closes dialog
- Cancel -- refreshes item and closes dialog
-
Persistent
- New (modified or not)
- Close -- user is warned to press Save or Cancel.
- Cancel -- refreshes item and closes dialog
- Persisted
- Modified
- Close -- user is warned to press Save or Cancel.
- Cancel -- refreshes item
- Unmodified
- Close -- closes dialog
- Cancel -- refreshes item
- Modified
- New (modified or not)
For sequential edit (only Persistent and Persisted are applicable, both modified and unmodified):
- Next -- goes to next item without any warning
- Cancel -- refreshes item and closes dialog
Successful saving
- New (close dialog by default)
- Not persistent -- closes dialog
- Persistent and persisted -- closes dialog
- Persistent, not persisted and continuation -- closes dialog
- Otherwise, aka "continuous creation" -- leaves dialog open
- Edit (leave open by default, aka
EntityNavigationMaster
#1055 and sequential edit) -- leaves dialog open
Exception for rule 1.i.: Customise columns dialog
.
Exception for rule 1.ii.: compound master's main view.
Exception for rule 2.: other edit actions except EntityNavigationMaster
.
Cascading windows
As part of issue #638 we have defined standard rules to closing cascading dialogs.
Close dialog
=
- Perform
Close dialog
on child - If child was not able to close, then
- Restore minimised one
- Center it
- Focus first input, if it has no children
- Repeat steps 1. and 2. until all children will be processed
- Close dialog if all children have been closed.