summaryrefslogtreecommitdiffstats
path: root/openecomp-bdd/features/Onboarding/ListItems/ListItemsFiltersFailures.feature
diff options
context:
space:
mode:
authortalig <talig@amdocs.com>2018-04-22 11:04:16 +0300
committertalig <talig@amdocs.com>2018-04-22 11:04:16 +0300
commit4182fc36985570881dba09680d4a4bbd8d946a79 (patch)
tree539a1d07593d8738c51589dc8fca329d31ab2932 /openecomp-bdd/features/Onboarding/ListItems/ListItemsFiltersFailures.feature
parent189ea57b899a346f5af26ddc88eff7a12611b560 (diff)
List items filters flow tests
Change-Id: Id843c02e5d328a61e0c6b3e713d962e7edfa197f Issue-ID: SDC-1213 Signed-off-by: talig <talig@amdocs.com>
Diffstat (limited to 'openecomp-bdd/features/Onboarding/ListItems/ListItemsFiltersFailures.feature')
-rw-r--r--openecomp-bdd/features/Onboarding/ListItems/ListItemsFiltersFailures.feature24
1 files changed, 24 insertions, 0 deletions
diff --git a/openecomp-bdd/features/Onboarding/ListItems/ListItemsFiltersFailures.feature b/openecomp-bdd/features/Onboarding/ListItems/ListItemsFiltersFailures.feature
new file mode 100644
index 0000000000..53807af47a
--- /dev/null
+++ b/openecomp-bdd/features/Onboarding/ListItems/ListItemsFiltersFailures.feature
@@ -0,0 +1,24 @@
+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
+