summaryrefslogtreecommitdiffstats
path: root/cucumber-js-test-apis-ci/features/Example_Collaboration.feature
diff options
context:
space:
mode:
authorilanap <ilanap@amdocs.com>2019-01-01 17:22:07 +0200
committerOren Kleks <orenkle@amdocs.com>2019-01-02 12:37:08 +0000
commit866418030975f2ee09a27d144de4e880218e84e8 (patch)
tree70a329025f0c382b658c667813dd4f9183e6e98e /cucumber-js-test-apis-ci/features/Example_Collaboration.feature
parent9da0b14bb0a0321f08458ba7b9148336e00d77d3 (diff)
docker for cucumber BDD
Issue-ID: SDC-2028 Change-Id: I7c1376c449ba7650c3bbc1838726cfd178d2ca40 Signed-off-by: ilanap <ilanap@amdocs.com>
Diffstat (limited to 'cucumber-js-test-apis-ci/features/Example_Collaboration.feature')
-rw-r--r--cucumber-js-test-apis-ci/features/Example_Collaboration.feature26
1 files changed, 26 insertions, 0 deletions
diff --git a/cucumber-js-test-apis-ci/features/Example_Collaboration.feature b/cucumber-js-test-apis-ci/features/Example_Collaboration.feature
new file mode 100644
index 0000000000..c799efda12
--- /dev/null
+++ b/cucumber-js-test-apis-ci/features/Example_Collaboration.feature
@@ -0,0 +1,26 @@
+Feature: Collaboration Example File
+
+ Background: Init
+ Given I want to create a VLM
+ Scenario: Testing permissions for contributors and Owners
+ Then I want to check user "mb033001" has no permissions on this Item
+
+ When I want to add user "mb0001" as a contributor to this Item
+ Then I want to get the permissions for this Item
+ Then I want to check property "listCount" for value 2
+ Then I want to check user "cs0008" has role "owner" on this Item
+ Then I want to check user "mb0001" has role "contributor" on this Item
+
+ When I want to set the user to "aaaa"
+ Then I want the following to fail
+ When I want to get the permissions for this Item
+
+ When I want to set the user to "mb0001"
+ Then I want the following to fail
+ When I want to change the owner to user "mb0001" on this Item
+
+ When I want to set the user to "cs0008"
+ When I want to change the owner to user "mb0001" on this Item
+ Then I want to get the permissions for this Item
+ Then I want to check user "cs0008" has role "contributor" on this Item
+ Then I want to check user "mb0001" has role "owner" on this Item \ No newline at end of file