aboutsummaryrefslogtreecommitdiffstats
path: root/test/csit/run-csit.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/csit/run-csit.sh')
-rwxr-xr-xtest/csit/run-csit.sh20
1 files changed, 19 insertions, 1 deletions
diff --git a/test/csit/run-csit.sh b/test/csit/run-csit.sh
index 8033f308a..f499d8ed1 100755
--- a/test/csit/run-csit.sh
+++ b/test/csit/run-csit.sh
@@ -93,6 +93,24 @@ if ! type pybot > /dev/null; then
source ${ROBOT_VENV}/bin/activate
fi
+# install required Robot libraries
+pip install --upgrade robotframework-extendedselenium2library
+
+# install eteutils
+mkdir -p ${ROBOT_VENV}/src/onap
+rm -rf ${ROBOT_VENV}/src/onap/testsuite
+git clone https://gerrit.onap.org/r/testsuite/python-testing-utils.git ${ROBOT_VENV}/src/onap/testsuite/python-testing-utils
+pip install --upgrade ${ROBOT_VENV}/src/onap/testsuite/python-testing-utils
+
+# install chrome driver
+if [ ! -x ${ROBOT_VENV}/bin/chromedriver ]; then
+ pushd ${ROBOT_VENV}/bin
+ wget -N http://chromedriver.storage.googleapis.com/2.32/chromedriver_linux64.zip
+ unzip chromedriver_linux64.zip
+ chmod +x chromedriver
+ popd
+fi
+
WORKDIR=`mktemp -d --suffix=-robot-workdir`
cd ${WORKDIR}
@@ -103,7 +121,7 @@ set -x
# Add csit scripts to PATH
-export PATH=${PATH}:${WORKSPACE}/test/csit/docker/scripts:${WORKSPACE}/test/csit/scripts
+export PATH=${PATH}:${WORKSPACE}/test/csit/docker/scripts:${WORKSPACE}/test/csit/scripts:${ROBOT_VENV}/bin
export SCRIPTS=${WORKSPACE}/test/csit/scripts
export ROBOT_VARIABLES=