Improve error reporting during the service import
[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     Then I want to submit this VLM
6
7     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"
17       When I want to get the permissions for this Item
18       Then I want to check property "listCount" for value 2
19
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