summaryrefslogtreecommitdiffstats
path: root/openecomp-bdd/features/Onboarding/ListItems
diff options
context:
space:
mode:
authorilanap <ilanap@amdocs.com>2019-01-01 17:22:07 +0200
committerOren Kleks <orenkle@amdocs.com>2019-01-02 12:37:08 +0000
commit866418030975f2ee09a27d144de4e880218e84e8 (patch)
tree70a329025f0c382b658c667813dd4f9183e6e98e /openecomp-bdd/features/Onboarding/ListItems
parent9da0b14bb0a0321f08458ba7b9148336e00d77d3 (diff)
docker for cucumber BDD
Issue-ID: SDC-2028 Change-Id: I7c1376c449ba7650c3bbc1838726cfd178d2ca40 Signed-off-by: ilanap <ilanap@amdocs.com>
Diffstat (limited to 'openecomp-bdd/features/Onboarding/ListItems')
-rw-r--r--openecomp-bdd/features/Onboarding/ListItems/ListItemsFilters.feature86
-rw-r--r--openecomp-bdd/features/Onboarding/ListItems/ListItemsFiltersFailures.feature24
2 files changed, 0 insertions, 110 deletions
diff --git a/openecomp-bdd/features/Onboarding/ListItems/ListItemsFilters.feature b/openecomp-bdd/features/Onboarding/ListItems/ListItemsFilters.feature
deleted file mode 100644
index 8b0a23213d..0000000000
--- a/openecomp-bdd/features/Onboarding/ListItems/ListItemsFilters.feature
+++ /dev/null
@@ -1,86 +0,0 @@
-Feature: List items with various filters
-
- Background: Init - create various items in order to test list items filters
- Given I want to set the user to "cs0008"
- Given I want to create a VLM
- Then I want to copy to property "noPermissionDraftVlmId" from response data path "itemId"
-
- Given I want to create a VLM
- Then I want to copy to property "noPermissionCertifiedVlmId" from response data path "itemId"
- And I want to submit this VLM
-
- Given I want to set the user to "mb1001"
-
- Given I want to create a VLM
- Then I want to copy to property "draftVlmId" from response data path "itemId"
-
- Given I want to create a VLM
- Then I want to copy to property "certifiedVlmId" from response data path "itemId"
- And I want to submit this VLM
-
- Given I want to create a VLM
- Then I want to copy to property "archivedDraftVlmId" from response data path "itemId"
- And I want to archive this item
-
- Given I want to create a VLM
- Then I want to copy to property "archivedCertifiedVlmId" from response data path "itemId"
- And I want to submit this VLM
- And I want to archive this item
-
- Given I want to create a VSP with onboarding type "NetworkPackage"
- Then I want to copy to property "npDraftVspId" from response data path "itemId"
-
- Given I want to create a VSP with onboarding type "Manual"
- Then I want to copy to property "manualDraftVspId" from response data path "itemId"
-
- Scenario: List workspace items - active, draft, editable by the user
- When I want to get path "/items?itemStatus=ACTIVE&versionStatus=Draft&permission=Owner,Contributor"
-
- Then I want to check that element in the response list with "id" equals to value of saved property "draftVlmId" exists
- And I want to check that element in the response list with "id" equals to value of saved property "npDraftVspId" exists
- And I want to check that element in the response list with "id" equals to value of saved property "manualDraftVspId" exists
-
- But I want to check that element in the response list with "id" equals to value of saved property "noPermissionDraftVlmId" does not exist
- And I want to check that element in the response list with "id" equals to value of saved property "noPermissionCertifiedVlmId" does not exist
- And I want to check that element in the response list with "id" equals to value of saved property "certifiedVlmId" does not exist
- And I want to check that element in the response list with "id" equals to value of saved property "archivedDraftVlmId" does not exist
- And I want to check that element in the response list with "id" equals to value of saved property "archivedCertifiedVlmId" does not exist
-
- Scenario: List catalog items - active, certified
- When I want to get path "/items?itemStatus=ACTIVE&versionStatus=Certified"
-
- Then I want to check that element in the response list with "id" equals to value of saved property "noPermissionCertifiedVlmId" exists
- And I want to check that element in the response list with "id" equals to value of saved property "certifiedVlmId" exists
-
- But I want to check that element in the response list with "id" equals to value of saved property "draftVlmId" does not exist
- And I want to check that element in the response list with "id" equals to value of saved property "npDraftVspId" does not exist
- And I want to check that element in the response list with "id" equals to value of saved property "manualDraftVspId" does not exist
- And I want to check that element in the response list with "id" equals to value of saved property "noPermissionDraftVlmId" does not exist
- And I want to check that element in the response list with "id" equals to value of saved property "archivedDraftVlmId" does not exist
- And I want to check that element in the response list with "id" equals to value of saved property "archivedCertifiedVlmId" does not exist
-
- Scenario: List archived certified items
- When I want to get path "/items?itemStatus=ARCHIVED&versionStatus=Certified"
-
- Then I want to check that element in the response list with "id" equals to value of saved property "archivedCertifiedVlmId" exists
-
- But I want to check that element in the response list with "id" equals to value of saved property "archivedDraftVlmId" does not exist
- And I want to check that element in the response list with "id" equals to value of saved property "noPermissionCertifiedVlmId" does not exist
- And I want to check that element in the response list with "id" equals to value of saved property "certifiedVlmId" does not exist
- And I want to check that element in the response list with "id" equals to value of saved property "draftVlmId" does not exist
- And I want to check that element in the response list with "id" equals to value of saved property "npDraftVspId" does not exist
- And I want to check that element in the response list with "id" equals to value of saved property "manualDraftVspId" does not exist
- And I want to check that element in the response list with "id" equals to value of saved property "noPermissionDraftVlmId" does not exist
-
- Scenario: List only active draft manual vsps + vlms owned by the user
- When I want to get path "/items?itemStatus=ACTIVE&versionStatus=Draft&onboardingMethod=Manual&permission=Owner"
-
- Then I want to check that element in the response list with "id" equals to value of saved property "draftVlmId" exists
- And I want to check that element in the response list with "id" equals to value of saved property "manualDraftVspId" exists
-
- But I want to check that element in the response list with "id" equals to value of saved property "npDraftVspId" does not exist
- And I want to check that element in the response list with "id" equals to value of saved property "noPermissionDraftVlmId" does not exist
- And I want to check that element in the response list with "id" equals to value of saved property "noPermissionCertifiedVlmId" does not exist
- And I want to check that element in the response list with "id" equals to value of saved property "certifiedVlmId" does not exist
- And I want to check that element in the response list with "id" equals to value of saved property "archivedDraftVlmId" does not exist
- And I want to check that element in the response list with "id" equals to value of saved property "archivedCertifiedVlmId" does not exist
diff --git a/openecomp-bdd/features/Onboarding/ListItems/ListItemsFiltersFailures.feature b/openecomp-bdd/features/Onboarding/ListItems/ListItemsFiltersFailures.feature
deleted file mode 100644
index 53807af47a..0000000000
--- a/openecomp-bdd/features/Onboarding/ListItems/ListItemsFiltersFailures.feature
+++ /dev/null
@@ -1,24 +0,0 @@
-Feature: List items with incorrect filter values
-
- Scenario: Filter by incorrect item type - negative
- When I want the following to fail with error code "GENERAL_ERROR_REST_ID"
- Then I want to get path "/items?itemType=bsp"
-
- Scenario: Filter by incorrect permission - negative
- When I want the following to fail with error code "GENERAL_ERROR_REST_ID"
- Then I want to get path "/items?permission=Contributer"
-
- Scenario: Filter by incorrect version status - negative
- When I want the following to fail with error code "GENERAL_ERROR_REST_ID"
- Then I want to get path "/items?versionStatus=Draftt"
-
- Scenario: Filter by incorrect item status - negative
- When I want the following to fail with error code "GENERAL_ERROR_REST_ID"
- Then I want to get path "/items?itemStatus=active"
-
- Scenario: Filter by incorrect onboarding method - negative
- When I want the following to fail with error code "GENERAL_ERROR_REST_ID"
- Then I want to get path "/items?onboardingMethod=heat"
-
- Then I want to print the context data
-