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