-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathprivatelink.feature
38 lines (31 loc) · 1.27 KB
/
privatelink.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
@privatelink
Feature: Private Links
As a user
I want to open private links inside the app
so that i will reach directly the referenced content
Background: User is logged in
Given user Alice is logged in
@smoke
Scenario Outline: Item in root folder
Given the following items have been created in Alice account
| folder | privlink |
| <type> | <path> |
When Alice opens a private link pointing to <path> with scheme owncloud
Then <type> <name> is opened in the app
Examples:
| type | path | name |
| file | privlink/privateLink1.pdf | privateLink1.pdf |
| folder | privlink/privateLink2 | privateLink2 |
@nooc10 @sharedlink
Scenario Outline: Item in shared jail
Given the following items have been created in Bob account
| <type> | <item> |
Given Bob has shared <type> <item> with user Alice with Viewer permissions
When Alice opens a private link pointing to shared <item> with scheme owncloud
Then <type> <item> is opened in the app
Examples:
| type | item |
| file | privateLink3.txt |
Scenario: Item not existing
When Alice opens a private link pointing to non-existing item
Then Alice should see a link resolution error