IMPLEMENTS: RICPLT-2062, XApp LCM tests
[it/test.git] / ric_robot_suite / robot / testsuites / ete.robot
index 8b51a8d..cd86164 100644 (file)
@@ -3,31 +3,43 @@ Documentation   Executes the End To End Test cases
 ...
 Library   Collections
 Library   OperatingSystem
+
 Resource         ../resources/appmgr/appmgr_interface.robot
+Resource         ../resources/appmgr/negative_appmgr_tests.robot
 Resource         ../resources/e2mgr/e2mgr_interface.robot
 Resource         ../resources/dashboard/dashboard_interface.robot
 
 *** Variables ***
-${TEST_XAPPNAME}       DemoXapp1
-${TEST_XAPPID}    101
-${TEST_NODE_B_NAME}     AAAA456789
+${TEST_XAPPNAME}      xapp-std
+${TEST_XAPPID}        101
+${TEST_NODE_B_NAME}   AAAA456789
 ${TEST_NODE_B_IP}     10.0.0.3
 ${TEST_NODE_B_PORT}   36422
 
 
 *** Test Cases ***
-Get All Xapps
-    [Tags]   etetests  xapptests   ci_tests
-    Run AppMgr Get All Request
-Create Xapp
-    [Tags]   etetests  xapptests   ci_tests
-    Run Create Xapp   ${TEST_XAPPNAME}    ${TEST_XAPPID}
-Get Xapp By Name
-    [Tags]   etetests  xapptests
-    Run AppMgr Get By XappName   ${TEST_XAPPNAME}
-Get Xapp By Name and Id
-    [Tags]   etetests   xapptests
-    Run AppMgr Get By XappName and XappId    ${TEST_XAPPNAME}   ${TEST_XAPPID}
+Test XApp Manager Health
+    [Tags]  etetests  xapptests
+    Run AppMgr Health Check
+Deploy An XApp    
+    [Tags]  etetests  xapptests
+    Deploy XApp       ${TEST_XAPPNAME}
+Retrieve The Deployed XApp
+    [Tags]  etetests  xapptests
+    Get XApp By Name  ${TEST_XAPPNAME}
+Attempt To Deploy A Duplicate XApp
+    [Tags]  etetests  xapptests
+    Deploy Duplicate XApp And Expect Error
+Undeploy The Deployed XApp
+    [Tags]  etetests  xapptests
+    Undeploy XApp     ${TEST_XAPPNAME}
+Attempt To Undeploy An Already Undeployed XApp
+    [Tags]  etetests  xapptests
+    Undeploy Nondeployed XApp And Expect Error
+Attempt To Request A Nonexistent XApp
+    [Tags]  etetests  xapptests
+    Request Nonexistent XApp And Expect Error
+    
 Setup RAN Via E2Mgr X2
     [Tags]   x2setup
     Run E2Mgr Setup NodeB X2   ${TEST_NODE_B_NAME}    ${TEST_NODE_B_IP}   ${TEST_NODE_B_PORT}
@@ -56,4 +68,3 @@ Get NodeB via Dashboard
 Get All NodeBs via Dashboard
     [Tags]   e2setup_dash   x2setup_dash    ci_tests
     Run Dashboard Get All NodeBs Request
-