aboutsummaryrefslogtreecommitdiffstats
path: root/cucumber-js-test-apis-ci/features
diff options
context:
space:
mode:
authorpriyanshu <pagarwal@amdocs.com>2019-01-14 15:46:55 +0530
committerpriyanshu <pagarwal@amdocs.com>2019-01-14 15:46:55 +0530
commit5b9d9a134778d4dc7bf45474ba13be6ba0c46282 (patch)
treea9dde66cc370513384670ad9587605795774bfbd /cucumber-js-test-apis-ci/features
parentefc185c60153bed4988abbb159e2103ec7653f83 (diff)
Interface operation feature enhancements
1. API restructuring to enhance model and provide more capabilities. 2. Allowed multiple interface creation under same resource/service. 3. Enhanced validations to align with updated model. 4. API restructuring to align UI model with Tosca model. 5. Enhanced Junit and code coverage. 6. Added BDD and CI-API tests. Change-Id: I2d8ac8a6154fd9be8254836ba0da1540210031c0 Issue-ID: SDC-1999 Signed-off-by: priyanshu <pagarwal@amdocs.com>
Diffstat (limited to 'cucumber-js-test-apis-ci/features')
-rw-r--r--cucumber-js-test-apis-ci/features/InterfaceOperation/TestResourceInterfaceOperation.feature22
-rw-r--r--cucumber-js-test-apis-ci/features/InterfaceOperation/TestServiceInterfaceOperation.feature13
2 files changed, 7 insertions, 28 deletions
diff --git a/cucumber-js-test-apis-ci/features/InterfaceOperation/TestResourceInterfaceOperation.feature b/cucumber-js-test-apis-ci/features/InterfaceOperation/TestResourceInterfaceOperation.feature
index ed09f2fb20..7a4105f443 100644
--- a/cucumber-js-test-apis-ci/features/InterfaceOperation/TestResourceInterfaceOperation.feature
+++ b/cucumber-js-test-apis-ci/features/InterfaceOperation/TestResourceInterfaceOperation.feature
@@ -4,25 +4,19 @@ Feature: Interface Operation Feature
Given I want to create a VF
Scenario: Test InterfaceOperation CRUD
- #Create Operations
+ #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
- 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
@@ -38,11 +32,8 @@ Feature: Interface Operation Feature
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
@@ -59,14 +50,11 @@ Feature: Interface Operation Feature
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
@@ -80,11 +68,9 @@ Feature: Interface Operation Feature
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
diff --git a/cucumber-js-test-apis-ci/features/InterfaceOperation/TestServiceInterfaceOperation.feature b/cucumber-js-test-apis-ci/features/InterfaceOperation/TestServiceInterfaceOperation.feature
index 1ff0ba3f1b..72d56d5fc7 100644
--- a/cucumber-js-test-apis-ci/features/InterfaceOperation/TestServiceInterfaceOperation.feature
+++ b/cucumber-js-test-apis-ci/features/InterfaceOperation/TestServiceInterfaceOperation.feature
@@ -4,26 +4,19 @@ Feature: Interface Operation Feature
Given I want to create a Service
Scenario: Test InterfaceOperation CRUD
- #Create Operations
+ #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
- 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