diff options
author | 2019-01-01 17:22:07 +0200 | |
---|---|---|
committer | 2019-01-02 12:37:08 +0000 | |
commit | 866418030975f2ee09a27d144de4e880218e84e8 (patch) | |
tree | 70a329025f0c382b658c667813dd4f9183e6e98e /cucumber-js-test-apis-ci/features/Onboarding/ListItems/ListItemsFiltersFailures.feature | |
parent | 9da0b14bb0a0321f08458ba7b9148336e00d77d3 (diff) |
docker for cucumber BDD
Issue-ID: SDC-2028
Change-Id: I7c1376c449ba7650c3bbc1838726cfd178d2ca40
Signed-off-by: ilanap <ilanap@amdocs.com>
Diffstat (limited to 'cucumber-js-test-apis-ci/features/Onboarding/ListItems/ListItemsFiltersFailures.feature')
-rw-r--r-- | cucumber-js-test-apis-ci/features/Onboarding/ListItems/ListItemsFiltersFailures.feature | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/cucumber-js-test-apis-ci/features/Onboarding/ListItems/ListItemsFiltersFailures.feature b/cucumber-js-test-apis-ci/features/Onboarding/ListItems/ListItemsFiltersFailures.feature new file mode 100644 index 0000000000..53807af47a --- /dev/null +++ b/cucumber-js-test-apis-ci/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 + |