docker for cucumber BDD
[sdc.git] / cucumber-js-test-apis-ci / features / Example_Collaboration.feature
1 Feature: Collaboration Example File
2
3   Background: Init
4     Given I want to create a VLM
5     Scenario: Testing permissions for contributors and Owners
6       Then I want to check user "mb033001" has no permissions on this Item
7
8       When I want to add user "mb0001" as a contributor to this Item
9       Then I want to get the permissions for this Item
10       Then I want to check property "listCount" for value 2
11       Then I want to check user "cs0008" has role "owner" on this Item
12       Then I want to check user "mb0001" has role "contributor" on this Item
13
14       When I want to set the user to "aaaa"
15       Then I want the following to fail
16       When I want to get the permissions for this Item
17
18       When I want to set the user to "mb0001"
19       Then I want the following to fail
20       When I want to change the owner to user "mb0001" on this Item
21
22       When I want to set the user to "cs0008"
23       When I want to change the owner to user "mb0001" on this Item
24       Then I want to get the permissions for this Item
25       Then I want to check user "cs0008" has role "contributor" on this Item
26       Then I want to check user "mb0001" has role "owner" on this Item