blob: 7a4105f443a621eddb4d65738f3cd4dfe0f40b0d [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
priyanshu5b9d9a12019-01-14 15:46:55 +05307 #Create Multiple operations Operations
mojahidi65204c62018-04-25 18:39:53 +05308 When I want to create an Operation
priyanshu5b9d9a12019-01-14 15:46:55 +05309 When I want to create an Operation
10 When I want to create an Operation
mojahidi65204c62018-04-25 18:39:53 +053011
12 #List All Operations
13 When I want to list Operations
14
15 #Get Operation By OperationId
16 When I want to get an Operation by Id
priyanshu5b9d9a12019-01-14 15:46:55 +053017
mojahidi65204c62018-04-25 18:39:53 +053018 #Update Operation
19 When I want to update an Operation
mojahidi65204c62018-04-25 18:39:53 +053020
21 #Delete Operation
22 When I want to delete an Operation
23
24 #Checkin
mojahidi5082ac82018-09-07 11:07:49 +053025 When I want to checkin this component
mojahidi65204c62018-04-25 18:39:53 +053026 Then I want to check property "lifecycleState" for value "NOT_CERTIFIED_CHECKIN"
27
mojahidi5082ac82018-09-07 11:07:49 +053028 #Certify
29 Then I want to certify this component
30 And I want to check property "lifecycleState" for value "CERTIFIED"
mojahidi65204c62018-04-25 18:39:53 +053031
32 Scenario: Test InterfaceOperation CREATE
33 #Create Operations
34 When I want to create an Operation
mojahidi65204c62018-04-25 18:39:53 +053035 And I want to create an Operation
mojahidi65204c62018-04-25 18:39:53 +053036 And I want to create an Operation
mojahidi65204c62018-04-25 18:39:53 +053037
38 #List All Operations
39 When I want to list Operations
40
41#Checkin
mojahidi5082ac82018-09-07 11:07:49 +053042 When I want to checkin this component
mojahidi65204c62018-04-25 18:39:53 +053043 Then I want to check property "lifecycleState" for value "NOT_CERTIFIED_CHECKIN"
44
mojahidi5082ac82018-09-07 11:07:49 +053045#Certify
46 Then I want to certify this component
47 And I want to check property "lifecycleState" for value "CERTIFIED"
mojahidi65204c62018-04-25 18:39:53 +053048
49
50 Scenario: Test InterfaceOperation UPDATE
51 #Create Operation
52 When I want to create an Operation
mojahidi65204c62018-04-25 18:39:53 +053053
54 #Get Operation By OperationId
55 When I want to get an Operation by Id
mojahidi65204c62018-04-25 18:39:53 +053056 #Update Operation
57 When I want to update an Operation
mojahidi65204c62018-04-25 18:39:53 +053058
59 #Checkin
mojahidi5082ac82018-09-07 11:07:49 +053060 When I want to checkin this component
mojahidi65204c62018-04-25 18:39:53 +053061 Then I want to check property "lifecycleState" for value "NOT_CERTIFIED_CHECKIN"
62
mojahidi5082ac82018-09-07 11:07:49 +053063 #Certify
64 Then I want to certify this component
65 And I want to check property "lifecycleState" for value "CERTIFIED"
mojahidi65204c62018-04-25 18:39:53 +053066
67
68 Scenario: Test InterfaceOperation DELETE
69 #Create Operation
70 When I want to create an Operation
mojahidi65204c62018-04-25 18:39:53 +053071
72 #Get Operation By OperationId
73 When I want to get an Operation by Id
mojahidi65204c62018-04-25 18:39:53 +053074
75 #Delete Operation
76 When I want to delete an Operation
77
78 #Checkin
mojahidi5082ac82018-09-07 11:07:49 +053079 When I want to checkin this component
mojahidi65204c62018-04-25 18:39:53 +053080 Then I want to check property "lifecycleState" for value "NOT_CERTIFIED_CHECKIN"
81
mojahidi5082ac82018-09-07 11:07:49 +053082 #certify
83 Then I want to certify this component
84 And I want to check property "lifecycleState" for value "CERTIFIED"