Modificaciones a los features cases actions y input document case
This commit is contained in:
@@ -234,12 +234,11 @@ Scenario Outline: Sends variables to a case
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Scenario Outline: Route a case to the next task in the process
|
||||
Given PUT this data:
|
||||
"""
|
||||
{
|
||||
"case_uid": "<case_number>",
|
||||
"del_index": "1"
|
||||
}
|
||||
"""
|
||||
|
||||
@@ -13,7 +13,7 @@ Scenario: Returns a list of the uploaded documents for a given case
|
||||
Then the response status code should be 400
|
||||
|
||||
Scenario Outline: Post metadata and then upload documents for a given case
|
||||
Given POST upload an input document "<document_file>" to "cases/<case_uid>/input-document"
|
||||
Given POST this data:
|
||||
"""
|
||||
{
|
||||
|
||||
@@ -24,12 +24,14 @@ Scenario Outline: Post metadata and then upload documents for a given case
|
||||
|
||||
}
|
||||
"""
|
||||
And I request "cases/<case_uid>/input-document"
|
||||
Then the response status code should be 400
|
||||
And the response status message should have the following text "<error_message>"
|
||||
|
||||
|
||||
Examples:
|
||||
| app_doc_uid_number | document_file | case_uid | inp_doc_uid | tas_uid | app_doc_comment |
|
||||
| 1 | /inexistent_test1.html | 170220159534214f642abb8058832933 | 68671480353319e5e1dee74089764900 | 19582733053319e304cfa76025663570 | comment 1 |
|
||||
| 1 | /home/wendy/uploadfiles/test1.html | 170220159534214f642abb8058832933 | 68671480353319e5e1dee74089764900 | | comment 1 |
|
||||
| 1 | /home/wendy/uploadfiles/test1.html | 170220159534214f642abb8058832933 | | 19582733053319e304cfa76025663570 | comment 1 |
|
||||
| test_description | case_uid | inp_doc_uid | tas_uid | app_doc_comment | error_message |
|
||||
| Incorrect tas_uid | 170220159534214f642abb8058832933 | 68671480353319e5e1dee74089764900 | | comment 1 | tas_uid |
|
||||
| Incorrect inp_doc_uid | 170220159534214f642abb8058832933 | | 19582733053319e304cfa76025663570 | comment 1 | inp_doc_uid |
|
||||
| No file | 170220159534214f642abb8058832933 | 68671480353319e5e1dee74089764900 | 19582733053319e304cfa76025663570 | comment 1 | filename |
|
||||
|
||||
Reference in New Issue
Block a user