diff options
author | Gary Wu <gary.i.wu@huawei.com> | 2017-09-18 22:47:57 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2017-09-18 22:47:57 +0000 |
commit | 3a1815060b18242ee6515ba62c1562dc07266f71 (patch) | |
tree | 4fd5aa9f5829b789ec586d54b45762283a959d4d /test | |
parent | b0f8eae7a734aa3442f950c21c47124da0a6a9cf (diff) | |
parent | 7a57d375400392efecc61b22a87c7ecfde335be2 (diff) |
Merge "Add chromedriver to CSIT environment"
Diffstat (limited to 'test')
-rwxr-xr-x | test/csit/run-csit.sh | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/test/csit/run-csit.sh b/test/csit/run-csit.sh index a4232f610..f499d8ed1 100755 --- a/test/csit/run-csit.sh +++ b/test/csit/run-csit.sh @@ -102,6 +102,15 @@ 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} @@ -112,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= |