aboutsummaryrefslogtreecommitdiffstats
path: root/tests/sdc
diff options
context:
space:
mode:
Diffstat (limited to 'tests/sdc')
-rw-r--r--tests/sdc/nightly/test1.robot5
-rw-r--r--tests/sdc/sanity/test1.robot5
-rw-r--r--tests/sdc/sdc-helm-validator/sdc-helm-validator.robot4
-rw-r--r--tests/sdc/uiSanity/test1.robot5
4 files changed, 11 insertions, 8 deletions
diff --git a/tests/sdc/nightly/test1.robot b/tests/sdc/nightly/test1.robot
index 2b92be74..6567b51e 100644
--- a/tests/sdc/nightly/test1.robot
+++ b/tests/sdc/nightly/test1.robot
@@ -12,5 +12,6 @@ Get Requests health check ok
${resp}= Get Request sdc-fe /sdc1/rest/healthCheck headers=&{headers}
Should Be Equal As Strings ${resp.status_code} 200
@{ITEMS}= Copy List ${resp.json()['componentsInfo']}
- : FOR ${ELEMENT} IN @{ITEMS}
- \ Log ${ELEMENT['healthCheckComponent']} ${ELEMENT['healthCheckStatus']}
+ FOR ${ELEMENT} IN @{ITEMS}
+ Log ${ELEMENT['healthCheckComponent']} ${ELEMENT['healthCheckStatus']}
+ END
diff --git a/tests/sdc/sanity/test1.robot b/tests/sdc/sanity/test1.robot
index 2b92be74..6567b51e 100644
--- a/tests/sdc/sanity/test1.robot
+++ b/tests/sdc/sanity/test1.robot
@@ -12,5 +12,6 @@ Get Requests health check ok
${resp}= Get Request sdc-fe /sdc1/rest/healthCheck headers=&{headers}
Should Be Equal As Strings ${resp.status_code} 200
@{ITEMS}= Copy List ${resp.json()['componentsInfo']}
- : FOR ${ELEMENT} IN @{ITEMS}
- \ Log ${ELEMENT['healthCheckComponent']} ${ELEMENT['healthCheckStatus']}
+ FOR ${ELEMENT} IN @{ITEMS}
+ Log ${ELEMENT['healthCheckComponent']} ${ELEMENT['healthCheckStatus']}
+ END
diff --git a/tests/sdc/sdc-helm-validator/sdc-helm-validator.robot b/tests/sdc/sdc-helm-validator/sdc-helm-validator.robot
index b4051051..baa77a30 100644
--- a/tests/sdc/sdc-helm-validator/sdc-helm-validator.robot
+++ b/tests/sdc/sdc-helm-validator/sdc-helm-validator.robot
@@ -106,9 +106,9 @@ Verify That Sdc Helm Validator Responds With Error For Chart Validation Request
${chart_path} Catenate SEPARATOR= ${CHARTS_PATH} ${CHART_CORRECT_V2}
${files}= Create Multi Part ${chart_path}
${other_data}= Create Dictionary ${REQ_KEY_VERSION_DESIRED}=v10
- ${resp}= Post Request ${VALIDATOR_SESSION} ${VALIDATE_ENDPOINT} files=${files} data=${other_data}
+ ${resp}= POST On Session ${VALIDATOR_SESSION} ${VALIDATE_ENDPOINT} files=${files} data=${other_data} expected_status=anything
- Should Be Equal As Strings ${resp.status_code} 400
+ Status Should Be 400 ${resp}
Should Be Equal As Strings ${resp.text} {"message":"Version: 10 is not supported"}
Verify That Sdc Helm Validator Correctly Responds For Correct Chart Validation Request With Random Supported Version
diff --git a/tests/sdc/uiSanity/test1.robot b/tests/sdc/uiSanity/test1.robot
index 2b92be74..6567b51e 100644
--- a/tests/sdc/uiSanity/test1.robot
+++ b/tests/sdc/uiSanity/test1.robot
@@ -12,5 +12,6 @@ Get Requests health check ok
${resp}= Get Request sdc-fe /sdc1/rest/healthCheck headers=&{headers}
Should Be Equal As Strings ${resp.status_code} 200
@{ITEMS}= Copy List ${resp.json()['componentsInfo']}
- : FOR ${ELEMENT} IN @{ITEMS}
- \ Log ${ELEMENT['healthCheckComponent']} ${ELEMENT['healthCheckStatus']}
+ FOR ${ELEMENT} IN @{ITEMS}
+ Log ${ELEMENT['healthCheckComponent']} ${ELEMENT['healthCheckStatus']}
+ END