-
Notifications
You must be signed in to change notification settings - Fork 38
/
quit.feature
42 lines (34 loc) · 1.26 KB
/
quit.feature
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
Feature: Quit
As a Data Packager or Data Consumer
I want to close the application and be warned if there are unsaved changes
So that I can quickly and safely finish work
RULES
=====
- Different operating systems use different terms to end the application:
- Windows uses "Close"
- macOS uses "Quit".
- "Quit" can be invoked by a menu item, keyboard shortcut, or system functions
- "Quit" can be cancelled
LATER
=====
- check for unsaved data changes. If all changes are saved, quit Data Curator
Scenario: Quit the application and all data changes are saved
Given Data Curator is open
And all data changes have been saved
When "Quit" is invoked
Then a warning to save unsaved work should be shown
Scenario: Quit the application and some data changes are not saved
Given Data Curator is open
And some data changes have not been saved
When "Quit" is invoked
Then a warning to save unsaved work should be shown
Scenario: Quit application
Given Data Curator is open
And "Quit" is invoked
When "Quit" is selected
Then Data Curator should quit
Scenario: Cancel Quit
Given Data Curator is open
And "Quit" is invoked
When "Cancel" is selected
Then Data Curator should remain running