Interface operation feature enhancements
[sdc.git] / cucumber-js-test-apis-ci / features / InterfaceOperation / TestResourceInterfaceOperation.feature
1 Feature: Interface Operation Feature
2
3  Background: Init
4   Given I want to create a VF
5
6  Scenario: Test InterfaceOperation CRUD
7     #Create Multiple operations Operations
8   When I want to create an Operation
9   When I want to create an Operation
10   When I want to create an Operation
11
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
17
18    #Update Operation
19   When I want to update an Operation
20
21    #Delete Operation
22   When I want to delete an Operation
23
24   #Checkin
25   When I want to checkin this component
26   Then I want to check property "lifecycleState" for value "NOT_CERTIFIED_CHECKIN"
27
28   #Certify
29   Then I want to certify this component
30   And I want to check property "lifecycleState" for value "CERTIFIED"
31
32  Scenario: Test InterfaceOperation CREATE
33   #Create Operations
34   When I want to create an Operation
35   And  I want to create an Operation
36   And  I want to create an Operation
37
38  #List All Operations
39   When I want to list Operations
40
41 #Checkin
42   When I want to checkin this component
43   Then I want to check property "lifecycleState" for value "NOT_CERTIFIED_CHECKIN"
44
45 #Certify
46   Then I want to certify this component
47   And I want to check property "lifecycleState" for value "CERTIFIED"
48
49
50  Scenario: Test InterfaceOperation UPDATE
51     #Create Operation
52   When I want to create an Operation
53
54     #Get Operation By OperationId
55   When I want to get an Operation by Id
56    #Update Operation
57   When I want to update an Operation
58
59   #Checkin
60   When I want to checkin this component
61   Then I want to check property "lifecycleState" for value "NOT_CERTIFIED_CHECKIN"
62
63   #Certify
64   Then I want to certify this component
65   And I want to check property "lifecycleState" for value "CERTIFIED"
66
67
68  Scenario: Test InterfaceOperation DELETE
69     #Create Operation
70   When I want to create an Operation
71
72     #Get Operation By OperationId
73   When I want to get an Operation by Id
74
75    #Delete Operation
76   When I want to delete an Operation
77
78   #Checkin
79   When I want to checkin this component
80   Then I want to check property "lifecycleState" for value "NOT_CERTIFIED_CHECKIN"
81
82   #certify
83   Then I want to certify this component
84   And I want to check property "lifecycleState" for value "CERTIFIED"