X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=ric_robot_suite%2Fhelm%2Fnanobot%2Fconfigmap-src%2Fpublic%2Ftestsuites%2Fupdate_ric_page.robot;fp=ric_robot_suite%2Fhelm%2Fnanobot%2Fconfigmap-src%2Fpublic%2Ftestsuites%2Fupdate_ric_page.robot;h=a2efd1cd771bbdb535abe7cf74a991d955518098;hb=fb793dbf21da9874a5f26dfce45c4a08f4b02889;hp=0000000000000000000000000000000000000000;hpb=99115439fd9976bd251f98ed21171c6f38ff2b05;p=it%2Ftest.git diff --git a/ric_robot_suite/helm/nanobot/configmap-src/public/testsuites/update_ric_page.robot b/ric_robot_suite/helm/nanobot/configmap-src/public/testsuites/update_ric_page.robot new file mode 100644 index 0000000..a2efd1c --- /dev/null +++ b/ric_robot_suite/helm/nanobot/configmap-src/public/testsuites/update_ric_page.robot @@ -0,0 +1,28 @@ +*** Settings *** +Documentation Initializes RIC Test Web Page and Password + +Library Collections +Library OperatingSystem +Library StringTemplater + + +Test Timeout 5 minutes + +*** Variables *** +${URLS_HTML_TEMPLATE} robot/assets/templates/web/index.html.template + +${HOSTS_PREFIX} vm +${WEB_USER} test +${WEB_PASSWORD} + +${URLS_HTML} html/index.html +${CREDENTIALS_FILE} /etc/lighttpd/authorization +#${CREDENTIALS_FILE} authorization + +*** Test Cases *** +Update RIC Page + [Tags] UpdateWebPage + Run Keyword If '${WEB_PASSWORD}' == '' Fail "WEB Password must not be empty" + Run Keyword If '${WEB_PASSWORD}' != '' Create File ${CREDENTIALS_FILE} ${WEB_USER}:${WEB_PASSWORD} + +*** Keywords ***