aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWojciech Sliwka <wojciech.sliwka@nokia.com>2019-05-27 17:45:53 +0200
committerWojciech Sliwka <wojciech.sliwka@nokia.com>2019-05-27 17:45:53 +0200
commitc97101347defc8126614b27c60646325e0f9d674 (patch)
tree594f0e05fa78babc60dde7dc28a663b203b95cfc
parent4d09f9e4a129df64dc79bdd5057b2e8535bc7520 (diff)
Issue-ID: VID-484
fetch parameters for native workflows Change-Id: I6d017ee43b1969ceb2bce11d28f0fdde5da152c4 Signed-off-by: Wojciech Sliwka <wojciech.sliwka@nokia.com>
-rw-r--r--tests/vid/newVNFChange/test2.robot8
-rw-r--r--tests/vid/resources/simulators/test_data_assets/responses.json66
2 files changed, 6 insertions, 68 deletions
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/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
+}