From 44f7630dcbe41b8af7dbc2f34d67a29c6991a152 Mon Sep 17 00:00:00 2001 From: Wendy Nestor Date: Tue, 13 May 2014 10:57:35 -0400 Subject: [PATCH] Prueba negativa para export/import project --- .../negative_tests_project_export_import.feature | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/features/backend/projects/project_export_import/negative_tests_project_export_import.feature b/features/backend/projects/project_export_import/negative_tests_project_export_import.feature index e69de29bb..6a6709615 100644 --- a/features/backend/projects/project_export_import/negative_tests_project_export_import.feature +++ b/features/backend/projects/project_export_import/negative_tests_project_export_import.feature @@ -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 "" to "project/import?option=" + Then the response status code should be + And the response status message should have the following text "" + + + 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 | \ No newline at end of file