2 Documentation Executes the End To End Test cases
5 Library OperatingSystem
6 Resource ../resources/appmgr/appmgr_interface.robot
7 Resource ../resources/e2mgr/e2mgr_interface.robot
8 Resource ../resources/dashboard/dashboard_interface.robot
11 ${TEST_XAPPNAME} DemoXapp1
13 ${TEST_NODE_B_NAME} AAAA456789
14 ${TEST_NODE_B_IP} 10.0.0.3
15 ${TEST_NODE_B_PORT} 36422
20 [Tags] etetests xapptests ci_tests
21 Run AppMgr Get All Request
23 [Tags] etetests xapptests ci_tests
24 Run Create Xapp ${TEST_XAPPNAME} ${TEST_XAPPID}
26 [Tags] etetests xapptests
27 Run AppMgr Get By XappName ${TEST_XAPPNAME}
28 Get Xapp By Name and Id
29 [Tags] etetests xapptests
30 Run AppMgr Get By XappName and XappId ${TEST_XAPPNAME} ${TEST_XAPPID}
31 Setup RAN Via E2Mgr X2
33 Run E2Mgr Setup NodeB X2 ${TEST_NODE_B_NAME} ${TEST_NODE_B_IP} ${TEST_NODE_B_PORT}
34 Wait Until Keyword Succeeds 20s 5s Check NodeB Status ${TEST_NODE_B_NAME}
35 Setup RAN Via E2Mgr Endc
37 Run E2Mgr Setup NodeB Endc ${TEST_NODE_B_NAME} ${TEST_NODE_B_IP} ${TEST_NODE_B_PORT}
38 Wait Until Keyword Succeeds 20s 5s Check NodeB Status ${TEST_NODE_B_NAME}
40 [Tags] e2setup x2setup
41 Run E2Mgr Get NodeB Request ${TEST_NODE_B_NAME}
42 Get All NodeBs Via E2Mgr
43 [Tags] e2mgrtest etetests e2setup x2setup ci_tests
44 Run E2Mgr Get All NodeBs Request
45 Setup RAN Via Dashboard Endc
47 Run Dashboard Setup NodeB Endc ${TEST_NODE_B_NAME} ${TEST_NODE_B_IP} ${TEST_NODE_B_PORT}
48 Wait Until Keyword Succeeds 20s 5s Dashboard Check NodeB Status ${TEST_NODE_B_NAME}
49 Setup RAN Via Dashboard X2
51 Run Dashboard Setup NodeB X2 ${TEST_NODE_B_NAME} ${TEST_NODE_B_IP} ${TEST_NODE_B_PORT}
52 Wait Until Keyword Succeeds 20s 5s Dashboard Check NodeB Status ${TEST_NODE_B_NAME}
53 Get NodeB via Dashboard
54 [Tags] e2setup_dash x2setup_dash
55 Run Dashboard Get NodeB Request ${TEST_NODE_B_NAME}
56 Get All NodeBs via Dashboard
57 [Tags] e2setup_dash x2setup_dash ci_tests
58 Run Dashboard Get All NodeBs Request