Prueba negativa para export/import project

This commit is contained in:
Wendy Nestor
2014-05-13 10:57:35 -04:00
parent 47c5511dd7
commit 44f7630dcb

View File

@@ -0,0 +1,15 @@
@ProcessMakerMichelangelo @RestAPI
Feature: Import/Export Process Negative Tests
Background:
Given that I have a valid access_token
Scenario Outline: Import a process negative tests
Given POST upload a project file "<project_file>" to "project/import?option=<import_option>"
Then the response status code should be <error_code>
And the response status message should have the following text "<error_message>"
Examples:
| Description | project_file | import_option | error_code | error_message |
| Import process when the process alredy exists | /home/wendy/uploadfiles/Process_Complete_BPMN.pmx | create | 400 | already exists |