summaryrefslogtreecommitdiffstats
path: root/cucumber-js-test-apis-ci/features/InterfaceOperation/TestResourceInterfaceOperation.feature
blob: 7a4105f443a621eddb4d65738f3cd4dfe0f40b0d (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
Feature: Interface Operation Feature

 Background: Init
  Given I want to create a VF

 Scenario: Test InterfaceOperation CRUD
    #Create Multiple operations Operations
  When I want to create an Operation
  When I want to create an Operation
  When I want to create an Operation

   #List All Operations
  When I want to list Operations

    #Get Operation By OperationId
  When I want to get an Operation by Id

   #Update Operation
  When I want to update an Operation

   #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
  And  I want to create an Operation
  And  I want to create an Operation

 #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

    #Get Operation By OperationId
  When I want to get an Operation by Id
   #Update Operation
  When I want to update 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 DELETE
    #Create Operation
  When I want to create an Operation

    #Get Operation By OperationId
  When I want to get an Operation by Id

   #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"