blob: 71033b238feb348accce1b197a959630fa23bafe [file] [log] [blame]
ilanap637206b2018-02-04 17:06:22 +02001Feature: Collaboration Example File
2
3 Background: Init
4 Given I want to create a VLM
siddharth0905c0b0f612019-01-24 14:01:46 +05305 Then I want to submit this VLM
6
ilanap637206b2018-02-04 17:06:22 +02007 Scenario: Testing permissions for contributors and Owners
8 Then I want to check user "mb033001" has no permissions on this Item
9
10 When I want to add user "mb0001" as a contributor to this Item
11 Then I want to get the permissions for this Item
12 Then I want to check property "listCount" for value 2
13 Then I want to check user "cs0008" has role "owner" on this Item
14 Then I want to check user "mb0001" has role "contributor" on this Item
15
16 When I want to set the user to "aaaa"
ilanap637206b2018-02-04 17:06:22 +020017 When I want to get the permissions for this Item
siddharth0905c0b0f612019-01-24 14:01:46 +053018 Then I want to check property "listCount" for value 2
ilanap637206b2018-02-04 17:06:22 +020019
20 When I want to set the user to "mb0001"
21 Then I want the following to fail
22 When I want to change the owner to user "mb0001" on this Item
23
24 When I want to set the user to "cs0008"
25 When I want to change the owner to user "mb0001" on this Item
26 Then I want to get the permissions for this Item
27 Then I want to check user "cs0008" has role "contributor" on this Item
28 Then I want to check user "mb0001" has role "owner" on this Item