blob: ed09f2fb200e4e18f2610f53a69628bdcd7f01b7 [file] [log] [blame]
mojahidi65204c62018-04-25 18:39:53 +05301Feature: Interface Operation Feature
2
3 Background: Init
4 Given I want to create a VF
5
6 Scenario: Test InterfaceOperation CRUD
7 #Create Operations
8 When I want to create an Operation
9 Then I want to check property "uniqueId" exists
siddharth0905b734ea22018-11-22 13:37:31 +053010 And I want to create an Operation with workflow
mojahidi65204c62018-04-25 18:39:53 +053011 Then I want to check property "uniqueId" exists
12 And I want to create an Operation
13 Then I want to check property "uniqueId" exists
mojahidi5082ac82018-09-07 11:07:49 +053014 When I want to create an Operation with input output
15 Then I want to check property "uniqueId" exists
mojahidi65204c62018-04-25 18:39:53 +053016
17 #List All Operations
18 When I want to list Operations
19
20 #Get Operation By OperationId
21 When I want to get an Operation by Id
22 Then I want to check property "uniqueId" exists
23 #Update Operation
24 When I want to update an Operation
25 Then I want to check property "uniqueId" exists
26
27 #Delete Operation
28 When I want to delete an Operation
29
30 #Checkin
mojahidi5082ac82018-09-07 11:07:49 +053031 When I want to checkin this component
mojahidi65204c62018-04-25 18:39:53 +053032 Then I want to check property "lifecycleState" for value "NOT_CERTIFIED_CHECKIN"
33
mojahidi5082ac82018-09-07 11:07:49 +053034 #Certify
35 Then I want to certify this component
36 And I want to check property "lifecycleState" for value "CERTIFIED"
mojahidi65204c62018-04-25 18:39:53 +053037
38 Scenario: Test InterfaceOperation CREATE
39 #Create Operations
40 When I want to create an Operation
41 Then I want to check property "uniqueId" exists
42 And I want to create an Operation
43 Then I want to check property "uniqueId" exists
44 And I want to create an Operation
45 Then I want to check property "uniqueId" exists
46
47 #List All Operations
48 When I want to list Operations
49
50#Checkin
mojahidi5082ac82018-09-07 11:07:49 +053051 When I want to checkin this component
mojahidi65204c62018-04-25 18:39:53 +053052 Then I want to check property "lifecycleState" for value "NOT_CERTIFIED_CHECKIN"
53
mojahidi5082ac82018-09-07 11:07:49 +053054#Certify
55 Then I want to certify this component
56 And I want to check property "lifecycleState" for value "CERTIFIED"
mojahidi65204c62018-04-25 18:39:53 +053057
58
59 Scenario: Test InterfaceOperation UPDATE
60 #Create Operation
61 When I want to create an Operation
62 Then I want to check property "uniqueId" exists
63
64 #Get Operation By OperationId
65 When I want to get an Operation by Id
66 Then I want to check property "uniqueId" exists
67 #Update Operation
68 When I want to update an Operation
69 Then I want to check property "uniqueId" exists
70
71 #Checkin
mojahidi5082ac82018-09-07 11:07:49 +053072 When I want to checkin this component
mojahidi65204c62018-04-25 18:39:53 +053073 Then I want to check property "lifecycleState" for value "NOT_CERTIFIED_CHECKIN"
74
mojahidi5082ac82018-09-07 11:07:49 +053075 #Certify
76 Then I want to certify this component
77 And I want to check property "lifecycleState" for value "CERTIFIED"
mojahidi65204c62018-04-25 18:39:53 +053078
79
80 Scenario: Test InterfaceOperation DELETE
81 #Create Operation
82 When I want to create an Operation
83 Then I want to check property "uniqueId" exists
84
85 #Get Operation By OperationId
86 When I want to get an Operation by Id
87 Then I want to check property "uniqueId" exists
88
89 #Delete Operation
90 When I want to delete an Operation
91
92 #Checkin
mojahidi5082ac82018-09-07 11:07:49 +053093 When I want to checkin this component
mojahidi65204c62018-04-25 18:39:53 +053094 Then I want to check property "lifecycleState" for value "NOT_CERTIFIED_CHECKIN"
95
mojahidi5082ac82018-09-07 11:07:49 +053096 #certify
97 Then I want to certify this component
98 And I want to check property "lifecycleState" for value "CERTIFIED"