Modificacion en File Manager
This commit is contained in:
@@ -15,7 +15,7 @@ Feature: Files Manager Resources
|
|||||||
Given I request "project/1265557095225ff5c688f46031700471/file-manager?path=public"
|
Given I request "project/1265557095225ff5c688f46031700471/file-manager?path=public"
|
||||||
Then the response status code should be 200
|
Then the response status code should be 200
|
||||||
And the response charset is "UTF-8"
|
And the response charset is "UTF-8"
|
||||||
And the content type is "application/json"
|
/root/.jenkins/jobs/MichelangeloBE/workspace/shared/sites/michelangelo/mailTemplates/1265557095225ff5c688f46031 And the content type is "application/json"
|
||||||
And the type is "array"
|
And the type is "array"
|
||||||
|
|
||||||
Scenario: Get a list templates folder of process files manager
|
Scenario: Get a list templates folder of process files manager
|
||||||
@@ -43,10 +43,10 @@ Feature: Files Manager Resources
|
|||||||
|
|
||||||
Examples:
|
Examples:
|
||||||
| test_description | file_name | path | content | http_code | type | i |
|
| test_description | file_name | path | content | http_code | type | i |
|
||||||
| into public folder | testbehat.txt | public/ | test | 200 | object | 0 |
|
| into public folder | testbehat1.txt | public/ | test | 200 | object | 0 |
|
||||||
| into mailtemplates folder | testbehat.txt | templates/ | test | 200 | object | 1 |
|
| into mailtemplates folder | testbehat1.txt | templates/ | test | 200 | object | 1 |
|
||||||
| into public subfolder | testbehat.txt | public/test_folder | test | 200 | object | 2 |
|
| into public subfolder | testbehat1.txt | public/test_folder | test | 200 | object | 2 |
|
||||||
| into mailtemplates subfolder | testbehat.txt | templates/test_folder | test | 200 | object | 3 |
|
| into mailtemplates subfolder | testbehat1.txt | templates/test_folder | test | 200 | object | 3 |
|
||||||
|
|
||||||
Scenario Outline: Post files
|
Scenario Outline: Post files
|
||||||
Given PUT this data:
|
Given PUT this data:
|
||||||
|
|||||||
@@ -0,0 +1,49 @@
|
|||||||
|
@ProcessMakerMichelangelo @RestAPI
|
||||||
|
Feature: Step update position
|
||||||
|
Scenario: List all the Sub Processs (result 0 Sub Processs)
|
||||||
|
Given that I have a valid access_token
|
||||||
|
And I request "project/106912358530c9b14ac15d3001790900/activity/467397212530c9b18435b87094293840/step/693874302530c9ba1734ad0026525748/trigger/659748303530c9b85af4d26007619346/before"
|
||||||
|
Then the response status code should be 200
|
||||||
|
And the response charset is "UTF-8"
|
||||||
|
And the type is "object"
|
||||||
|
And that "step_position" is set to "3"
|
||||||
|
|
||||||
|
Scenario: Change order the step
|
||||||
|
Given that I have a valid access_token
|
||||||
|
And PUT this data:
|
||||||
|
"""
|
||||||
|
{
|
||||||
|
"st_type": "BEFORE",
|
||||||
|
"st_position": "1"
|
||||||
|
}
|
||||||
|
"""
|
||||||
|
And I request "project/106912358530c9b14ac15d3001790900/activity/467397212530c9b18435b87094293840/step/693874302530c9ba1734ad0026525748/trigger/659748303530c9b85af4d26007619346"
|
||||||
|
Then the response status code should be 200
|
||||||
|
|
||||||
|
Scenario: List all the Sub Processs (result 0 Sub Processs)
|
||||||
|
Given that I have a valid access_token
|
||||||
|
And I request "project/106912358530c9b14ac15d3001790900/activity/467397212530c9b18435b87094293840/step/693874302530c9ba1734ad0026525748/trigger/659748303530c9b85af4d26007619346/before"
|
||||||
|
Then the response status code should be 200
|
||||||
|
And the response charset is "UTF-8"
|
||||||
|
And the type is "object"
|
||||||
|
And that "step_position" is set to "1"
|
||||||
|
|
||||||
|
Scenario: Change order the step
|
||||||
|
Given that I have a valid access_token
|
||||||
|
And PUT this data:
|
||||||
|
"""
|
||||||
|
{
|
||||||
|
"st_type": "BEFORE",
|
||||||
|
"st_position": "3"
|
||||||
|
}
|
||||||
|
"""
|
||||||
|
And I request "project/106912358530c9b14ac15d3001790900/activity/467397212530c9b18435b87094293840/step/693874302530c9ba1734ad0026525748/trigger/659748303530c9b85af4d26007619346"
|
||||||
|
Then the response status code should be 200
|
||||||
|
|
||||||
|
Scenario: List all the Sub Processs (result 0 Sub Processs)
|
||||||
|
Given that I have a valid access_token
|
||||||
|
And I request "project/106912358530c9b14ac15d3001790900/activity/467397212530c9b18435b87094293840/step/693874302530c9ba1734ad0026525748/trigger/659748303530c9b85af4d26007619346/before"
|
||||||
|
Then the response status code should be 200
|
||||||
|
And the response charset is "UTF-8"
|
||||||
|
And the type is "object"
|
||||||
|
And that "step_position" is set to "3"
|
||||||
|
|||||||
Reference in New Issue
Block a user