summaryrefslogtreecommitdiffstats
path: root/test/csit
diff options
context:
space:
mode:
authorGary Wu <gary.i.wu@huawei.com>2017-09-18 15:44:55 -0700
committerGary Wu <gary.i.wu@huawei.com>2017-09-18 15:44:55 -0700
commit7a57d375400392efecc61b22a87c7ecfde335be2 (patch)
treeed2801ad31356775bfcd2063ef8193c11153d1b1 /test/csit
parent85da5e9c327a2301c5180d53fc29c073025d5aed (diff)
Add chromedriver to CSIT environment
Change-Id: I61893684d9d843c09d650047ba8f7774a25a62a7 Issue-ID: INT-212 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
Diffstat (limited to 'test/csit')
-rwxr-xr-xtest/csit/run-csit.sh11
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=