Issue-ID: VID-484 62/88562/1
authorWojciech Sliwka <wojciech.sliwka@nokia.com>
Mon, 27 May 2019 15:45:53 +0000 (17:45 +0200)
committerWojciech Sliwka <wojciech.sliwka@nokia.com>
Mon, 27 May 2019 15:45:53 +0000 (17:45 +0200)
fetch parameters for native workflows

Change-Id: I6d017ee43b1969ceb2bce11d28f0fdde5da152c4
Signed-off-by: Wojciech Sliwka <wojciech.sliwka@nokia.com>
tests/vid/newVNFChange/test2.robot
tests/vid/resources/simulators/test_data_assets/responses.json

index 1af2ae7..c3032aa 100644 (file)
@@ -39,11 +39,11 @@ add new VNF Change in VID GUI From SO NATIVE worfkow
     Select From List  xpath=//select[@name='workflow']  VNF In Place Software Update
 
     Wait Until Page Contains    Operations timeout    ${GLOBAL_SELENIUM_BROWSER_WAIT_TIMEOUT}
-    Input Text    xpath=//input[@id='so-workflow-parameter-operations_timeout']    10
-    Input Text    xpath=//input[@id='so-workflow-parameter-existing_software_version']    test
-    Input Text    xpath=//input[@id='so-workflow-parameter-new_software_version']    test
+    Input Text    xpath=//input[@id='internal-workflow-parameter-text-2']    10
+    Input Text    xpath=//input[@id='internal-workflow-parameter-text-3']    test
+    Input Text    xpath=//input[@id='internal-workflow-parameter-text-4']    test
 
     Wait Until Element Is Enabled   xpath=//button[@id='submit']  ${GLOBAL_SELENIUM_BROWSER_WAIT_TIMEOUT}
     Click Button    xpath=//button[@id='submit']
 
-    Wait Until Page Does Not Contain  New VNF Change  ${GLOBAL_SELENIUM_BROWSER_WAIT_TIMEOUT}
\ No newline at end of file
+    Wait Until Page Does Not Contain  New VNF Change  ${GLOBAL_SELENIUM_BROWSER_WAIT_TIMEOUT}
index 9f3c10a..ee55f29 100644 (file)
                   "description": "Activity to Complete the BPMN Flow"
                 }
               ],
-              "workflowInputParameters": [{
-                "label": "Cloud Owner",
-                "inputType": "text",
-                "required": true,
-                "validation": [{
-                  "maxLength": "7",
-                  "allowableChars": "[a-zA-Z0-9]*"
-                }],
-                "soFieldName": "cloudOwner",
-                "soPayloadLocation": "cloudConfiguration"
-              },
-                {
-                  "label": "Cloud Region ID",
-                  "inputType": "text",
-                  "required": true,
-                  "validation": [{
-                    "maxLength": "7",
-                    "allowableChars": "[a-zA-Z0-9]*"
-                  }],
-                  "soFieldName": "lcpCloudRegionId",
-                  "soPayloadLocation": "cloudConfiguration"
-                },
-                {
-                  "label": "Tenant/Project ID",
-                  "inputType": "text",
-                  "required": true,
-                  "validation": [{
-                    "maxLength": "36",
-                    "allowableChars": "[a-zA-Z0-9]*"
-                  }],
-                  "soFieldName": "tenantId",
-                  "soPayloadLocation": "cloudConfiguration"
-                },
-                {
-                  "label": "Operations timeout",
-                  "inputType": "text",
-                  "required": true,
-                  "description": "some description",
-                  "validation": [{
-                    "maxLength": "50",
-                    "allowableChars": "[0-9]*"
-                  }],
-                  "soFieldName": "operations_timeout",
-                  "soPayloadLocation": "userParams"
-                },
-                {
-                  "label": "Existing software version",
-                  "inputType": "text",
-                  "required": true,
-                  "validation": [{
-                    "maxLength": "50",
-                    "allowableChars": "[a-zA-Z0-9]*"
-                  }],
-                  "soFieldName": "existing_software_version",
-                  "soPayloadLocation": "userParams"
-                },
-                {
-                  "label": "New software version",
-                  "inputType": "text",
-                  "required": true,
-                  "soFieldName": "new_software_version",
-                  "soPayloadLocation": "userParams"
-                }
+              "workflowInputParameters": [
               ]
             }
           }]
       }
     }
   ]
-}
\ No newline at end of file
+}