diff --git a/Robot-Framework/config/variables.robot b/Robot-Framework/config/variables.robot index 4532222e..570c9ab2 100644 --- a/Robot-Framework/config/variables.robot +++ b/Robot-Framework/config/variables.robot @@ -42,6 +42,25 @@ Set Variables Set Global Variable ${APPFLOWY_VM} appflowy-vm Set Global Variable ${BUSINESS_VM} business-vm + Set Log Level NONE + + Set Global Variable ${PLUG_USERNAME} ghaftester@gmail.com + Set Global Variable ${LOGIN} ghaf + ${result} Run Process sh -c cat /run/secrets/dut-pass shell=true + Set Global Variable ${PASSWORD} ghaf + ${result} Run Process sh -c cat /run/secrets/plug-pass shell=true + Set Global Variable ${PLUG_PASSWORD} ${result.stdout} + ${result} Run Process sh -c cat /run/secrets/switch-token shell=true + Set Global Variable ${SWITCH_TOKEN} ${result.stdout} + ${result} Run Process sh -c cat /run/secrets/switch-secret shell=true + Set Global Variable ${SWITCH_SECRET} ${result.stdout} + ${result} Run Process sh -c cat /run/secrets/wifi-ssid shell=true + Set Global Variable ${TEST_WIFI_SSID} ${result.stdout} + ${result} Run Process sh -c cat /run/secrets/wifi-password shell=true + Set Global Variable ${TEST_WIFI_PSWD} ${result.stdout} + + Set Log Level INFO + IF $BUILD_ID != '${EMPTY}' ${config}= Read Config ../config/${BUILD_ID}.json Set Global Variable ${JOB} ${config['Job']}