CI Test for get all interface lifecycle types
[sdc.git] / openecomp-bdd / features / Onboarding / ListItems / ListItemsFiltersFailures.feature
1 Feature: List items with incorrect filter values
2
3   Scenario: Filter by incorrect item type - negative
4     When I want the following to fail with error code "GENERAL_ERROR_REST_ID"
5     Then I want to get path "/items?itemType=bsp"
6
7   Scenario: Filter by incorrect permission - negative
8     When I want the following to fail with error code "GENERAL_ERROR_REST_ID"
9     Then I want to get path "/items?permission=Contributer"
10
11   Scenario: Filter by incorrect version status - negative
12     When I want the following to fail with error code "GENERAL_ERROR_REST_ID"
13     Then I want to get path "/items?versionStatus=Draftt"
14
15   Scenario: Filter by incorrect item status - negative
16     When I want the following to fail with error code "GENERAL_ERROR_REST_ID"
17     Then I want to get path "/items?itemStatus=active"
18
19   Scenario: Filter by incorrect onboarding method - negative
20     When I want the following to fail with error code "GENERAL_ERROR_REST_ID"
21     Then I want to get path "/items?onboardingMethod=heat"
22
23     Then I want to print the context data
24