aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-bdd/features/InterfaceOperation/TestResourceInterfaceOperation.feature
blob: ed09f2fb200e4e18f2610f53a69628bdcd7f01b7 (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
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 with workflow
  Then I want to check property "uniqueId" exists
  And  I want to create an Operation
  Then I want to check property "uniqueId" exists
  When I want to create an Operation with input output
  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 component
  Then I want to check property "lifecycleState" for value "NOT_CERTIFIED_CHECKIN"

  #Certify
  Then I want to certify this component
  And I want to check property "lifecycleState" for value "CERTIFIED"

 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 component
  Then I want to check property "lifecycleState" for value "NOT_CERTIFIED_CHECKIN"

#Certify
  Then I want to certify this component
  And I want to check property "lifecycleState" for value "CERTIFIED"


 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 component
  Then I want to check property "lifecycleState" for value "NOT_CERTIFIED_CHECKIN"

  #Certify
  Then I want to certify this component
  And I want to check property "lifecycleState" for value "CERTIFIED"


 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 component
  Then I want to check property "lifecycleState" for value "NOT_CERTIFIED_CHECKIN"

  #certify
  Then I want to certify this component
  And I want to check property "lifecycleState" for value "CERTIFIED"