summaryrefslogtreecommitdiffstats
path: root/openecomp-bdd/features/InterfaceOperation/TestInterfaceOperation.feature
blob: fa3647e5c61011330c91b7d7de9b6a31a9da9498 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
Feature: Interface Operation Feature

 Background: Init
  Given I want to create a VF

 Scenario: Test InterfaceOperation CRUD
    #Create Operations
  When I want to create an Operation
  Then I want to check property "uniqueId" exists
  And  I want to create an Operation
  Then I want to check property "uniqueId" exists
  And  I want to create an Operation
  Then I want to check property "uniqueId" exists

   #List All Operations
  When I want to list Operations

    #Get Operation By OperationId
  When I want to get an Operation by Id
  Then I want to check property "uniqueId" exists
   #Update Operation
  When I want to update an Operation
  Then I want to check property "uniqueId" exists

   #Delete Operation
  When I want to delete an Operation

  #Checkin
  When I want to checkin this VF
  Then I want to check property "lifecycleState" for value "NOT_CERTIFIED_CHECKIN"

  #Submit
  Then I want to submit this VF
  And I want to check property "lifecycleState" for value "READY_FOR_CERTIFICATION"

 Scenario: Test InterfaceOperation CREATE
  #Create Operations
  When I want to create an Operation
  Then I want to check property "uniqueId" exists
  And  I want to create an Operation
  Then I want to check property "uniqueId" exists
  And  I want to create an Operation
  Then I want to check property "uniqueId" exists

 #List All Operations
  When I want to list Operations

#Checkin
  When I want to checkin this VF
  Then I want to check property "lifecycleState" for value "NOT_CERTIFIED_CHECKIN"

#Submit
  Then I want to submit this VF
  And I want to check property "lifecycleState" for value "READY_FOR_CERTIFICATION"


 Scenario: Test InterfaceOperation UPDATE
    #Create Operation
  When I want to create an Operation
  Then I want to check property "uniqueId" exists

    #Get Operation By OperationId
  When I want to get an Operation by Id
  Then I want to check property "uniqueId" exists
   #Update Operation
  When I want to update an Operation
  Then I want to check property "uniqueId" exists

  #Checkin
  When I want to checkin this VF
  Then I want to check property "lifecycleState" for value "NOT_CERTIFIED_CHECKIN"

  #Submit
  Then I want to submit this VF
  And I want to check property "lifecycleState" for value "READY_FOR_CERTIFICATION"


 Scenario: Test InterfaceOperation DELETE
    #Create Operation
  When I want to create an Operation
  Then I want to check property "uniqueId" exists

    #Get Operation By OperationId
  When I want to get an Operation by Id
  Then I want to check property "uniqueId" exists

   #Delete Operation
  When I want to delete an Operation

  #Checkin
  When I want to checkin this VF
  Then I want to check property "lifecycleState" for value "NOT_CERTIFIED_CHECKIN"

  #Submit
  Then I want to submit this VF
  And I want to check property "lifecycleState" for value "READY_FOR_CERTIFICATION"

  Scenario: Test InterfaceOperation CREATE with output parameters
  #Create Operations
  When I want to create an Operation with outputParameter
  Then I want to check property "uniqueId" exists

 #List All Operations
  When I want to list Operations

#Checkin
  When I want to checkin this VF
  Then I want to check property "lifecycleState" for value "NOT_CERTIFIED_CHECKIN"

#Submit
  Then I want to submit this VF
  And I want to check property "lifecycleState" for value "READY_FOR_CERTIFICATION"