Update Romanian translation
[evolution.git] / tests / shortcuts.feature
blob0f9989a06a5e0484072f551e4fb4dedde267d44f
1 Feature: Shortcuts
3   Background:
4     * Open Evolution and setup fake account
6   @general_shortcuts
7   Scenario: Ctrl-Q to quit application - two instances
8     * Start a new Evolution instance
9     * Press "<Control>Q"
10     Then Evolution is closed
12   @general_shortcuts
13   Scenario: F1 to launch help
14     * Press "<F1>"
15     Then Help section "Evolution Mail and Calendar" is displayed
17   @general_shortcuts
18   Scenario: Shift-Ctrl-W to open a new window
19     * Press "<Control><Shift>W"
20     Then Evolution has 2 windows opened
22   @general_shortcuts
23   Scenario: Ctrl-W to close a window
24     * Press "<Control><Shift>W"
25     * Press "<Control>W"
26     Then Evolution has 1 window opened
28   @general_shortcuts
29   Scenario: Ctrl-Shift-S to open Preferences
30     * Press "<Control><Shift>S"
31     Then Preferences dialog is opened
33   @mail_shortcuts
34   Scenario: Mail: Ctrl-Shift-M to compose new message
35     * Open "Mail" section
36     * Press "<Control><Shift>M"
37     Then Message composer with title "Compose Message" is opened
39   @contacts_shortcuts
40   Scenario: Contacts: Ctrl-Shift-C to create new contact
41     * Open "Contacts" section
42     * Press "<Control><Shift>C"
43     Then Contact editor window is opened
45   @contacts_shortcuts
46   Scenario: Contacts: Ctrl-Shift-L to create new contact list
47     * Open "Contacts" section
48     * Press "<Control><Shift>L"
49     Then Contact List editor window is opened
51   @calendar_shortcuts
52   Scenario: Calendar: Ctrl-Shift-A to create new appointment
53     * Open "Calendar" section
54     * Press "<Control><Shift>A"
55     Then Event editor with title "Appointment - No Summary" is displayed
57   @calendar_shortcuts
58   Scenario: Calendar: Ctrl-Shift-E to create new meeting
59     * Open "Calendar" section
60     * Press "<Control><Shift>E"
61     Then Event editor with title "Meeting - No Summary" is displayed
63   @calendar_shortcuts
64   Scenario: Tasks: Ctrl-Shift-T to create new task
65     * Open "Tasks" section
66     * Press "<Control><Shift>T"
67     Then Task editor with title "Task - No Summary" is opened
69   @memos_shortcuts
70   Scenario: Memos: Ctrl-Shift-O to create new memo
71     * Open "Memos" section
72     * Press "<Control><Shift>O"
73     Then Memo editor with title "Memo - No Summary" is opened
75   @memos_shortcuts
76   Scenario: Memos: Ctrl-Shift-O to create new task
77     * Open "Memos" section
78     * Press "<Control><Shift>O"
79     Then Shared memo editor with title "Memo - No Summary" is opened
81   @view_shortcuts
82   Scenario Outline: Ctrl+<1-5> to switch views
83     * Press "<shortcut>"
84     Then "<section>" view is opened
86     Examples:
87       | shortcut | section  |
88       | <Ctrl>1  | Mail     |
89       | <Ctrl>2  | Contacts |
90       | <Ctrl>3  | Calendar |
91       | <Ctrl>4  | Tasks    |
92       | <Ctrl>5  | Memos    |
94   @menu_shortcuts
95   Scenario Outline: Menu shortcuts on all views
96     * Open "<section>" section
97     * Press "<shortcut>"
98     Then "<menu>" menu is opened
100     Examples:
101       | section | shortcut | menu    |
102       | Mail    | <Alt>F   | File    |
103       | Mail    | <Alt>E   | Edit    |
104       | Mail    | <Alt>V   | View    |
105       | Mail    | <Alt>O   | Folder  |
106       | Mail    | <Alt>M   | Message |
107       | Mail    | <Alt>S   | Search  |
108       | Mail    | <Alt>H   | Help    |
110       | Contacts | <Alt>F   | File    |
111       | Contacts | <Alt>E   | Edit    |
112       | Contacts | <Alt>V   | View    |
113       | Contacts | <Alt>A   | Actions |
114       | Contacts | <Alt>S   | Search  |
115       | Contacts | <Alt>H   | Help    |
117       | Calendar | <Alt>F   | File    |
118       | Calendar | <Alt>E   | Edit    |
119       | Calendar | <Alt>V   | View    |
120       | Calendar | <Alt>A   | Actions |
121       | Calendar | <Alt>S   | Search  |
122       | Calendar | <Alt>H   | Help    |
124       | Tasks | <Alt>F | File    |
125       | Tasks | <Alt>E | Edit    |
126       | Tasks | <Alt>V | View    |
127       | Tasks | <Alt>A | Actions |
128       | Tasks | <Alt>S | Search  |
129       | Tasks | <Alt>H | Help    |
131       | Memos | <Alt>F | File    |
132       | Memos | <Alt>E | Edit    |
133       | Memos | <Alt>V | View    |
134       | Memos | <Alt>S | Search  |
135       | Memos | <Alt>H | Help    |