@ProcessMakerMichelangelo @RestAPI Feature: Process Variables Main Tests Requirements: a workspace with the process 3306142435318cd22d1eba2015305561 ("Process variables") already loaded there are three activities in the process Background: Given that I have a valid access_token Scenario Outline: Get all variables of a Process And I request "project/3306142435318cd22d1eba2015305561/variables" And the content type is "application/json" Then the response status code should be 200 And the response charset is "UTF-8" And the type is "array" And the "var_name" property in row equals "" Examples: | i | var_name | | 0 | SYS_LANG | | 1 | SYS_SKIN | | 2 | SYS_SYS | | 3 | APPLICATION | | 4 | PROCESS | | 5 | TASK | | 6 | INDEX | | 7 | USER_LOGGED | | 8 | USR_USERNAME | | 9 | PIN | | 10 | grilla2 | | 11 | grilla3 | | 12 | grilla1 | Scenario: Get grid variables of a Process Given I request "project/3306142435318cd22d1eba2015305561/grid/variables" And the content type is "application/json" Then the response status code should be 200 And the response charset is "UTF-8" And the type is "array" And the response has 3 records And the "var_name" property in row 0 equals "grilla2" And the "var_name" property in row 1 equals "grilla3" And the "var_name" property in row 2 equals "grilla1" Scenario: Get all variables of a Grid Given I request "project/3306142435318cd22d1eba2015305561/grid/8246998615318cd7cc451d2089449499/variables" And the content type is "application/json" Then the response status code should be 200 And the response charset is "UTF-8" And the type is "array" And that "var_name" is set to "fecha" And that "var_label" is set to "Date Static Date Y/m/d 24/07-31/07" And that "var_type" is set to "date" And that "var_name" is set to "text" And that "var_label" is set to "Text Field + Validate Any" And that "var_type" is set to "text" And that "var_name" is set to "currency" And that "var_label" is set to "Currency Fields Real Number ###,###,###,###.##" And that "var_type" is set to "currency" And that "var_name" is set to "porcentage" And that "var_label" is set to "Porcentage Field + Real Number ###.## %" And that "var_type" is set to "percentage" And that "var_name" is set to "textarea" And that "var_label" is set to "Text area Field" And that "var_type" is set to "textarea" And that "var_name" is set to "dropdown" And that "var_label" is set to "Dropdown Field" And that "var_type" is set to "dropdown" And that "var_name" is set to "yesno" And that "var_label" is set to "Yes/No Field" And that "var_type" is set to "yesno" And that "var_name" is set to "checkbox" And that "var_label" is set to "Check Box Field" And that "var_type" is set to "checkbox" And that "var_name" is set to "suggest1" And that "var_label" is set to "Suggest Usuarios" And that "var_type" is set to "suggest" And that "var_name" is set to "link" And that "var_label" is set to "Link Field" And that "var_type" is set to "link" And that "var_name" is set to "addfile" And that "var_label" is set to "Add File Field" And that "var_type" is set to "file"