forked from cucumber/cucumber-java-skeleton
-
Notifications
You must be signed in to change notification settings - Fork 2
/
shortcuts.feature
39 lines (31 loc) · 1 KB
/
shortcuts.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
@shortcuts @nooc10
Feature: Shortcuts
As a user
I want to create a shortcut to any element
So that, i can jump to any address from my account
Background: User is logged
Given user Alice is logged
@createshortcut
Rule: Create shortcut
@smoke
Scenario Outline: Create correct shortcut over URL
When Alice selects the option Create Shortcut
And Alice creates a web shortcut with the following fields
| <name> | <url> |
Then Alice should see <name>.url in the filelist
And Alice should see <name>.url as uploaded in the uploads view
Examples:
| name | url |
| shortcut1 | www.owncloud.org |
@openshortcut
Rule: Open shortcut
@smoke
Scenario Outline: Open shortcut over URL
Given the following items have been created in Alice account
| shortcut | <name>.url |
When Alice opens the shortcut <name>.url
And Alice opens the link
Then Alice should see the browser
Examples:
| name |
| shortcut2 |