-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathFile operations in shared folders.feature
76 lines (58 loc) · 2.6 KB
/
File operations in shared folders.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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
Feature: File operations in shared folders
# DELETE operation
Scenario: Viewer cannot delete a shared file within a shared folder
Given "viewer" user has been logged in
When "viewer" is in a shared folder
# TBC if there is an error message when user attempts to delete or the button is disabled
Then "delete" option is missing in the file operations menu
Scenario: Editor can delete a shared file within a shared folder
Given "editor" user has been logged in
And "editor" is in a shared folder
When user deletes "a shared" file
Then "a shared file" has been deleted
Scenario: Co-Owner can delete a shared file within a shared folder
Given "co-owner" user has been logged in
And "co-owner" is in a shared folder
When user deletes "a shared" file
Then "a shared file" has been deleted
Scenario: MC Hammer cannot delete a shared file within a shared folder
Given "MC Hammer" user has been logged in
# TBC if the below is possible for MC Hammer
And "MC Hammer" is in a shared folder
# TBC if there is an error message when user attempts to delete or the button is disabled
Then "delete" option is missing in the file operations menu
Scenario: Shared file gets deleted for all collaborating users
Given "a user" user has been logged in
And "a user" is in a shared folder
When user deletes "a shared" file
Then "a shared" file has been deleted for "collaborating" user
# COPY operation
# Specification on which users are allowed to copy is missing
# DUPLICATE operation
# Specification on which users are allowed to duplicate is missing
# RENAME operation
# Specification on which users are allowed to rename is missing
# MOVE operation
# Specification on which users are allowed to move is missing
# OPEN IN operation
Scenario: Viewer can view a shared file within a shared folder
Given "viewer" user has been logged in
And "viewer" is in a shared folder
When "viewer" selects the open in button from the file operations menu
Then "viewer" can view a file
Scenario: Editor can view a shared file within a shared folder
Given "editor" user has been logged in
And "editor" is in a shared folder
When "editor" selects the open in button from the file operations menu
Then "editor" can view a file
Scenario: Co-Owner can view a shared file within a shared folder
Given "co-owner" user has been logged in
And "co-owner" is in a shared folder
When "co-owner" selects the open in button from the file operations menu
Then "co-owner" can view a file
Scenario: MC Hammer cannot view a shared file within a shared folder
Given "MC Hammer" user has been logged in
# TBC if the below possible for MC Hammer
And "MC Hammer" is in a shared folder
# TBC
Then