diff --git a/features/backend/admin_setup/calendar/negative_tests_calendar.feature b/features/backend/admin_setup/calendar/negative_tests_calendar.feature index ae2cc09c6..4c92af53c 100644 --- a/features/backend/admin_setup/calendar/negative_tests_calendar.feature +++ b/features/backend/admin_setup/calendar/negative_tests_calendar.feature @@ -162,4 +162,12 @@ Scenario: Create a new Calendars (with work days less than 3) """ And I request "calendar" Then the response status code should be 400 - And the response status message should have the following text "least 3 Working Days" \ No newline at end of file + And the response status message should have the following text "least 3 Working Days" + + + +#Scenario: Delete Calendar when it is assigned to a project "Test Process" +# Given that I want to delete a "Calendar" +# And I request "calendar/14606161052f50839307899033145440" +# Then the response status code should be 400 +# And the response status message should have the following text "cannot be deleted" \ No newline at end of file diff --git a/features/backend/admin_setup/category/negative_tests_category.feature b/features/backend/admin_setup/category/negative_tests_category.feature index 9b87936c7..804ac6237 100644 --- a/features/backend/admin_setup/category/negative_tests_category.feature +++ b/features/backend/admin_setup/category/negative_tests_category.feature @@ -20,4 +20,12 @@ Scenario Outline: Create a new Categories (Negative Test) Examples: | test_description | cat_name | error_code | error_message | - | without name | | 400 | cat_name | \ No newline at end of file + | without name | | 400 | cat_name | + + + +#Scenario: Delete the Category when it is assigned to a project "Category Cases Lists" +# Given that I want to delete a "Category" +# And I request "proyect/category/4177095085330818c324501061677193" +# Then the response status code should be 400 +# And the response status message should have the following text "cannot be deleted" \ No newline at end of file diff --git a/features/backend/admin_setup/pm_group/negative_tests_pm_group.feature b/features/backend/admin_setup/pm_group/negative_tests_pm_group.feature index f1c1a98af..57f3abd48 100644 --- a/features/backend/admin_setup/pm_group/negative_tests_pm_group.feature +++ b/features/backend/admin_setup/pm_group/negative_tests_pm_group.feature @@ -65,4 +65,11 @@ Feature: PM Group Negative Tests """ And I request "group/70084316152d56749e0f393054862525/user" Then the response status code should be 400 - And the response status message should have the following text "already assigned" \ No newline at end of file + And the response status message should have the following text "already assigned" + + + # Scenario: Delete a pm_group when have asigned user (negative tests) "Credit Supervisors" + # Given that I want to delete a "Group" + # And I request "group/53254668952d56744764b08079100881" + # Then the response status code should be 400 + # And the response status message should have the following text "cannot be deleted" \ No newline at end of file diff --git a/features/backend/admin_setup/pm_user/negative_tests_pm_user.feature b/features/backend/admin_setup/pm_user/negative_tests_pm_user.feature index fdf54179b..132051be6 100644 --- a/features/backend/admin_setup/pm_user/negative_tests_pm_user.feature +++ b/features/backend/admin_setup/pm_user/negative_tests_pm_user.feature @@ -72,3 +72,10 @@ Feature: PM User Main Tests | Wrong password | jhon | smith | jhon | jhon@gmail.com | grenn #344 | 555-6555 | AR | B | BUE | 555-6655-555 | Gerencia | | 2016-02-15 | | ACTIVE | PROCESSMAKER_OPERATOR | sample | igual | 400 | string | same | | Short length of the password | will | carter | will | will@gmail.com | saim #45 | 555-6522 | US | FL | MIA | 23344444 | Adminsitracion | 44811996752d567110634a1013636964 | 2014-12-12 | | ACTIVE | PROCESSMAKER_MANAGER | hol | hol | 400 | string | Minimum length | | Create with User exist | Peter | Vanko | peter | colosaqatest@gmail.com | | | | | | | | | 2016-02-15 | | ACTIVE | PROCESSMAKER_OPERATOR | sample | sample | 400 | string | exists | + + + # Scenario: Delete a pm_user when have asigned cases (negative tests) "amy" + # Given that I want to delete a "User" + # And I request "user/25286582752d56713231082039265791" + # Then the response status code should be 400 + # And the response status message should have the following text "cannot be deleted" \ No newline at end of file diff --git a/features/backend/admin_setup/roles/negative_tests_roles.feature b/features/backend/admin_setup/roles/negative_tests_roles.feature index a7e090fb9..1f43b8f76 100644 --- a/features/backend/admin_setup/roles/negative_tests_roles.feature +++ b/features/backend/admin_setup/roles/negative_tests_roles.feature @@ -64,4 +64,11 @@ Scenario Outline: Assign Permission "PM_DASHBOARD" to Role (NEGATIVE TESTS) | Description | rol_uid | per_uid | error_code | error_message | | Assign same permissions in rol "PROCESSMAKER_MANAGER" | 00000000000000000000000000000004 | 00000000000000000000000000000001 | 400 | per_uid | | Create rol without rol_uid | | 00000000000000000000000000000002 | 400 | rol_uid | - | Create rol without per_uid | 00000000000000000000000000000004 | | 400 | per_uid | \ No newline at end of file + | Create rol without per_uid | 00000000000000000000000000000004 | | 400 | per_uid | + + + # Scenario: Delete a role when have asigned users (negative tests) "PROCESSMAKER_OPERATOR" + # Given that I want to delete a "Role" + # And I request "role/00000000000000000000000000000003" + # Then the response status code should be 400 + # And the response status message should have the following text "cannot be deleted" \ No newline at end of file diff --git a/features/backend/application_cases/case_task/negative_tests_case_tasks.feature b/features/backend/application_cases/case_task/negative_tests_case_tasks.feature index 64379c2df..18ae34129 100644 --- a/features/backend/application_cases/case_task/negative_tests_case_tasks.feature +++ b/features/backend/application_cases/case_task/negative_tests_case_tasks.feature @@ -9,7 +9,7 @@ Background: Scenario: Get list case tasks of case 174 Given I request "cases/38365249000000000046753088523464/tasks" Then the response status code should be 400 - And the response status message should have the following text "doesn't exist" + And the response status message should have the following text "app_uid" Scenario: Get list case tasks of case 174