[RIC-587, RIC-584] Add Automation for RIC-587 | Add UTs for RIC-584
[ric-plt/e2mgr.git] / Automation / Tests / Add_ENB / Add_ENB_Happy.robot
index 44f4578..0693d6c 100644 (file)
 
 *** Settings ***
 Variables  ../Scripts/variables.py
-Suite Setup   Prepare Enviorment  ${False}
 Resource   ../Resource/resource.robot
 Resource   ../Resource/Keywords.robot
 Library     OperatingSystem
+Library     ../Scripts/log_scripts.py
 Library     REST        ${url}
 
 
@@ -34,6 +34,9 @@ Library     REST        ${url}
 ${url}  ${e2mgr_address}
 
 *** Test Cases ***
+[Setup]
+    Start Redis Monitor
+    Prepare Enviorment  ${False}
 
 Add eNB
     Sleep  2s
@@ -42,11 +45,18 @@ Add eNB
     String   response body ranName    ${enb_ran_name}
     String   response body connectionStatus    DISCONNECTED
     String   response body nodeType     ENB
-    String   response body enb enbType    MACRO_ENB
-
+    String   response body enb enbType    SHORT_MACRO_ENB
+    Missing  response body setupFromNetwork
 
+prepare logs for tests
+    Remove log files
+    Save logs
 
+Redis Monitor Logs - Verify Publish
+    Redis Monitor Logs - Verify Publish To Manipulation Channel    ${enb_ran_name}    ADDED
 
+[Teardown]
+    Stop Redis Monitor