From 895dab49c42b544f8d173b4171e23a703e104dac Mon Sep 17 00:00:00 2001 From: Wojciech Sliwka Date: Mon, 27 May 2019 17:45:53 +0200 Subject: Issue-ID: VID-484 fetch parameters for native workflows Change-Id: I6d017ee43b1969ceb2bce11d28f0fdde5da152c4 Signed-off-by: Wojciech Sliwka (cherry picked from commit c97101347defc8126614b27c60646325e0f9d674) --- tests/vid/newVNFChange/test2.robot | 8 +-- tests/vid/resources/docker-compose.yml | 2 +- .../simulators/test_data_assets/responses.json | 66 +--------------------- 3 files changed, 7 insertions(+), 69 deletions(-) (limited to 'tests/vid') diff --git a/tests/vid/newVNFChange/test2.robot b/tests/vid/newVNFChange/test2.robot index 1af2ae79..c3032aad 100644 --- a/tests/vid/newVNFChange/test2.robot +++ b/tests/vid/newVNFChange/test2.robot @@ -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} diff --git a/tests/vid/resources/docker-compose.yml b/tests/vid/resources/docker-compose.yml index 01fa92b3..6bd0c138 100644 --- a/tests/vid/resources/docker-compose.yml +++ b/tests/vid/resources/docker-compose.yml @@ -1,7 +1,7 @@ version: '3' services: vid-server: - image: nexus3.onap.org:10001/onap/vid:4.0-STAGING-latest + image: nexus3.onap.org:10001/onap/vid:4.3-STAGING-latest environment: - VID_MYSQL_DBNAME=vid_openecomp_epsdk - VID_MYSQL_PASS=Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U diff --git a/tests/vid/resources/simulators/test_data_assets/responses.json b/tests/vid/resources/simulators/test_data_assets/responses.json index 9f3c10a0..ee55f292 100644 --- a/tests/vid/resources/simulators/test_data_assets/responses.json +++ b/tests/vid/resources/simulators/test_data_assets/responses.json @@ -804,69 +804,7 @@ "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": [ ] } }] @@ -2714,4 +2652,4 @@ } } ] -} \ No newline at end of file +} -- cgit 1.2.3-korg