ilanap | 637206b | 2018-02-04 17:06:22 +0200 | [diff] [blame] | 1 | Feature: Collaboration Example File |
| 2 | |
| 3 | Background: Init |
| 4 | Given I want to create a VLM |
siddharth0905 | c0b0f61 | 2019-01-24 14:01:46 +0530 | [diff] [blame] | 5 | Then I want to submit this VLM |
| 6 | |
ilanap | 637206b | 2018-02-04 17:06:22 +0200 | [diff] [blame] | 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" |
ilanap | 637206b | 2018-02-04 17:06:22 +0200 | [diff] [blame] | 17 | When I want to get the permissions for this Item |
siddharth0905 | c0b0f61 | 2019-01-24 14:01:46 +0530 | [diff] [blame] | 18 | Then I want to check property "listCount" for value 2 |
ilanap | 637206b | 2018-02-04 17:06:22 +0200 | [diff] [blame] | 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 |