mojahidi | 65204c6 | 2018-04-25 18:39:53 +0530 | [diff] [blame^] | 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 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 |
| 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 | |
| 15 | #List All Operations |
| 16 | When I want to list Operations |
| 17 | |
| 18 | #Get Operation By OperationId |
| 19 | When I want to get an Operation by Id |
| 20 | Then I want to check property "uniqueId" exists |
| 21 | #Update Operation |
| 22 | When I want to update an Operation |
| 23 | Then I want to check property "uniqueId" exists |
| 24 | |
| 25 | #Delete Operation |
| 26 | When I want to delete an Operation |
| 27 | |
| 28 | #Checkin |
| 29 | When I want to checkin this VF |
| 30 | Then I want to check property "lifecycleState" for value "NOT_CERTIFIED_CHECKIN" |
| 31 | |
| 32 | #Submit |
| 33 | Then I want to submit this VF |
| 34 | And I want to check property "lifecycleState" for value "READY_FOR_CERTIFICATION" |
| 35 | |
| 36 | Scenario: Test InterfaceOperation CREATE |
| 37 | #Create Operations |
| 38 | When I want to create an Operation |
| 39 | Then I want to check property "uniqueId" exists |
| 40 | And I want to create an Operation |
| 41 | Then I want to check property "uniqueId" exists |
| 42 | And I want to create an Operation |
| 43 | Then I want to check property "uniqueId" exists |
| 44 | |
| 45 | #List All Operations |
| 46 | When I want to list Operations |
| 47 | |
| 48 | #Checkin |
| 49 | When I want to checkin this VF |
| 50 | Then I want to check property "lifecycleState" for value "NOT_CERTIFIED_CHECKIN" |
| 51 | |
| 52 | #Submit |
| 53 | Then I want to submit this VF |
| 54 | And I want to check property "lifecycleState" for value "READY_FOR_CERTIFICATION" |
| 55 | |
| 56 | |
| 57 | Scenario: Test InterfaceOperation UPDATE |
| 58 | #Create Operation |
| 59 | When I want to create an Operation |
| 60 | Then I want to check property "uniqueId" exists |
| 61 | |
| 62 | #Get Operation By OperationId |
| 63 | When I want to get an Operation by Id |
| 64 | Then I want to check property "uniqueId" exists |
| 65 | #Update Operation |
| 66 | When I want to update an Operation |
| 67 | Then I want to check property "uniqueId" exists |
| 68 | |
| 69 | #Checkin |
| 70 | When I want to checkin this VF |
| 71 | Then I want to check property "lifecycleState" for value "NOT_CERTIFIED_CHECKIN" |
| 72 | |
| 73 | #Submit |
| 74 | Then I want to submit this VF |
| 75 | And I want to check property "lifecycleState" for value "READY_FOR_CERTIFICATION" |
| 76 | |
| 77 | |
| 78 | Scenario: Test InterfaceOperation DELETE |
| 79 | #Create Operation |
| 80 | When I want to create an Operation |
| 81 | Then I want to check property "uniqueId" exists |
| 82 | |
| 83 | #Get Operation By OperationId |
| 84 | When I want to get an Operation by Id |
| 85 | Then I want to check property "uniqueId" exists |
| 86 | |
| 87 | #Delete Operation |
| 88 | When I want to delete an Operation |
| 89 | |
| 90 | #Checkin |
| 91 | When I want to checkin this VF |
| 92 | Then I want to check property "lifecycleState" for value "NOT_CERTIFIED_CHECKIN" |
| 93 | |
| 94 | #Submit |
| 95 | Then I want to submit this VF |
| 96 | And I want to check property "lifecycleState" for value "READY_FOR_CERTIFICATION" |