aboutsummaryrefslogtreecommitdiffstats
path: root/cucumber-js-test-apis-ci/features/Onboarding
diff options
context:
space:
mode:
authorsiddharth0905 <siddharth.singh4@amdocs.com>2019-01-24 14:01:46 +0530
committersiddharth0905 <siddharth.singh4@amdocs.com>2019-01-24 14:01:46 +0530
commitc0b0f612ddd8bf05f940a869759085c838e7752c (patch)
treef59460f399211d5b8ea367c570ef9ccda382c5e5 /cucumber-js-test-apis-ci/features/Onboarding
parentd139e09812ffbdb36a2058b514c51315c76b09f0 (diff)
Cucumber test fixes
Cucumber test fixes Change-Id: I3c6b21c8484000bda75383f75afc03926465205f Issue-ID: SDC-2028 Signed-off-by: siddharth0905 <siddharth.singh4@amdocs.com>
Diffstat (limited to 'cucumber-js-test-apis-ci/features/Onboarding')
-rw-r--r--cucumber-js-test-apis-ci/features/Onboarding/ArchiveItem/ArchiveVsp.feature3
-rw-r--r--cucumber-js-test-apis-ci/features/Onboarding/ArchiveItem/FilterArchivedVSPpackage.feature1
-rw-r--r--cucumber-js-test-apis-ci/features/Onboarding/DeleteItem/DeleteVSPCertified.feature3
-rw-r--r--cucumber-js-test-apis-ci/features/Onboarding/DeleteItem/DeleteVSPDraft.feature3
-rw-r--r--cucumber-js-test-apis-ci/features/Onboarding/UniqueValue.feature4
5 files changed, 9 insertions, 5 deletions
diff --git a/cucumber-js-test-apis-ci/features/Onboarding/ArchiveItem/ArchiveVsp.feature b/cucumber-js-test-apis-ci/features/Onboarding/ArchiveItem/ArchiveVsp.feature
index 2cc057469f..8e5a155861 100644
--- a/cucumber-js-test-apis-ci/features/Onboarding/ArchiveItem/ArchiveVsp.feature
+++ b/cucumber-js-test-apis-ci/features/Onboarding/ArchiveItem/ArchiveVsp.feature
@@ -1,7 +1,8 @@
Feature: Archive and Restore VSP
Background: Init
- Given I want to create a VLM
+ Given I want to create a VLM
+ Then I want to submit this VLM
Scenario: Archive VSP with Draft
When I want to create a VSP with onboarding type "NetworkPackage"
diff --git a/cucumber-js-test-apis-ci/features/Onboarding/ArchiveItem/FilterArchivedVSPpackage.feature b/cucumber-js-test-apis-ci/features/Onboarding/ArchiveItem/FilterArchivedVSPpackage.feature
index f68eece6a8..d83afce50d 100644
--- a/cucumber-js-test-apis-ci/features/Onboarding/ArchiveItem/FilterArchivedVSPpackage.feature
+++ b/cucumber-js-test-apis-ci/features/Onboarding/ArchiveItem/FilterArchivedVSPpackage.feature
@@ -2,6 +2,7 @@ Feature: Filter Archived VSP Package Details
Background: Init
Given I want to create a VLM
+ Then I want to submit this VLM
Scenario: Active VSP Package
When I want to create a VSP with onboarding type "NetworkPackage"
diff --git a/cucumber-js-test-apis-ci/features/Onboarding/DeleteItem/DeleteVSPCertified.feature b/cucumber-js-test-apis-ci/features/Onboarding/DeleteItem/DeleteVSPCertified.feature
index 35a506a010..f4fa9d4423 100644
--- a/cucumber-js-test-apis-ci/features/Onboarding/DeleteItem/DeleteVSPCertified.feature
+++ b/cucumber-js-test-apis-ci/features/Onboarding/DeleteItem/DeleteVSPCertified.feature
@@ -1,7 +1,8 @@
Feature: Delete VSP Draft
Background: Init
- Given I want to create a VLM
+ Given I want to create a VLM
+ Then I want to submit this VLM
Scenario: Delete VSP with only draft
When I want to create a VSP with onboarding type "NetworkPackage"
diff --git a/cucumber-js-test-apis-ci/features/Onboarding/DeleteItem/DeleteVSPDraft.feature b/cucumber-js-test-apis-ci/features/Onboarding/DeleteItem/DeleteVSPDraft.feature
index 5248131618..73cf7e263b 100644
--- a/cucumber-js-test-apis-ci/features/Onboarding/DeleteItem/DeleteVSPDraft.feature
+++ b/cucumber-js-test-apis-ci/features/Onboarding/DeleteItem/DeleteVSPDraft.feature
@@ -1,7 +1,8 @@
Feature: Delete VSP Certified
Background: Init
- Given I want to create a VLM
+ Given I want to create a VLM
+ Then I want to submit this VLM
Scenario: Delete VSP with certified - negative
When I want to create a VSP with onboarding type "NetworkPackage"
diff --git a/cucumber-js-test-apis-ci/features/Onboarding/UniqueValue.feature b/cucumber-js-test-apis-ci/features/Onboarding/UniqueValue.feature
index 31e41b9931..3abe1a3cb8 100644
--- a/cucumber-js-test-apis-ci/features/Onboarding/UniqueValue.feature
+++ b/cucumber-js-test-apis-ci/features/Onboarding/UniqueValue.feature
@@ -3,8 +3,8 @@ Feature: Unique value
Scenario: List unique types
When I want to get path "/unique-types"
Then I want to check property "listCount" for value 2
- And I want to check property "results[0]" for value "VspName"
- And I want to check property "results[1]" for value "VlmName"
+ And I want to check property "results[1]" for value "VspName"
+ And I want to check property "results[0]" for value "VlmName"
Scenario: Get unique value - non existing type (negative)
Given I want the following to fail with error code "UNIQUE_TYPE_NOT_FOUND"