CI Test for get all interface lifecycle types
[sdc.git] / cucumber-js-test-apis-ci / features / InterfaceOperation / TestServiceInterfaceOperation.feature
1 Feature: Interface Operation Feature
2
3  Background: Init
4   Given I want to create a Service
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
10   And  I want to create an Operation with workflow
11   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
14   When I want to create an Operation with input output
15   Then I want to check property "uniqueId" exists
16
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
24    #Update Operation
25   When I want to update an Operation
26   Then I want to check property "uniqueId" exists
27
28    #Delete Operation
29   When I want to delete an Operation
30
31    #Checkin
32   When I want to checkin this component
33   Then I want to check property "lifecycleState" for value "NOT_CERTIFIED_CHECKIN"
34
35    #Submit
36   Then I want to submit this component
37   And I want to check property "lifecycleState" for value "READY_FOR_CERTIFICATION"