Modificaciones a los features category, departments y triggers

This commit is contained in:
Wendy Nestor
2014-04-16 16:27:38 -04:00
parent 66717bf2c1
commit 242bd0b8d2
4 changed files with 48 additions and 40 deletions

View File

@@ -24,4 +24,21 @@ Feature: Triggers Negative Tests
| test_description | project | tri_title | tri_description |tri_type | error_code | error_message |
| Field required tri title | 251815090529619a99a2bf4013294414 | | Trigger con nombre en blanco |SCRIPT | 400 | tri_title |
#Test delete trigger when it asignee on the step
Scenario: Get the Triggers List when there are exactly two triggers
Given I request "project/99209594750ec27ea338927000421575/triggers"
Then the response status code should be 200
And the response charset is "UTF-8"
And the content type is "application/json"
And the type is "array"
And the response has 5 records
Scenario: Delete a Triggers created in the process - (Derivation rules - sequential)
Given that I want to delete a "Trigger"
And I request "project/99209594750ec27ea338927000421575/trigger/96762672253418c5fde42f1084230135"
Then the response status code should be 400
And the response status message should have the following text "Dependencies were found for this trigger"