Merge "Automation of nodeb health check"
[ric-plt/e2mgr.git] / Automation / Tests / SetGeneralConfiguration / set_general_configuration.robot
index da7356b..129f3a9 100644 (file)
 
 
 *** Settings ***
+Variables  ../Scripts/variables.py
 Suite Setup   Prepare Enviorment
 Resource   ../Resource/resource.robot
 Resource   ../Resource/Keywords.robot
+Library    ../Scripts/find_error_script.py
 Library     OperatingSystem
 Library     REST        ${url}
 
 
+*** Variables ***
+${url}  ${e2mgr_address}
 
 
-*** Test Cases ***
 
-prepare logs for tests
-    Remove log files
-    Save logs
+*** Test Cases ***
 
 Set General Configuration
     Sleep  2s
     Set General Configuration request
     Integer  response status  200
-    String   response body enableRic    false
+    Boolean  response body enableRic    false
+
+prepare logs for tests
+    Remove log files
+    Save logs
 
-Verify e2mgr logs - Third retry to retrieve from db
-   ${result}    find_error_script.find_error     ${EXECDIR}  ${e2mgr_log_filename}   ${save_general_configuration}
+Verify e2mgr logs - Save General Configuration
+  ${result}    find_error_script.find_error     ${EXECDIR}  ${e2mgr_log_filename}    ${save_general_configuration}
    Should Be Equal As Strings    ${result}      True
\ No newline at end of file