summaryrefslogtreecommitdiff
path: root/docker/selenium/launch_selenium_test
diff options
context:
space:
mode:
authorMarcello Stanisci <marcello.stanisci@inria.fr>2016-11-13 02:12:35 +0100
committerMarcello Stanisci <marcello.stanisci@inria.fr>2016-11-13 02:12:35 +0100
commitb0be987af1154ee2a160a5ab78a4aed8d61c69ba (patch)
tree74298980675a14f418abc7a3f2262cde311a70b5 /docker/selenium/launch_selenium_test
parenta224d53923e76e17e10ab31309d11632ebe8b5ba (diff)
parent3979cc8a34f47e2778c6adc31e75ebe3f59f4465 (diff)
downloaddeployment-b0be987af1154ee2a160a5ab78a4aed8d61c69ba.tar.gz
deployment-b0be987af1154ee2a160a5ab78a4aed8d61c69ba.tar.bz2
deployment-b0be987af1154ee2a160a5ab78a4aed8d61c69ba.zip
Merge branch 'master' of taler.net:deployment
Diffstat (limited to 'docker/selenium/launch_selenium_test')
-rwxr-xr-xdocker/selenium/launch_selenium_test18
1 files changed, 18 insertions, 0 deletions
diff --git a/docker/selenium/launch_selenium_test b/docker/selenium/launch_selenium_test
new file mode 100755
index 0000000..6bed99a
--- /dev/null
+++ b/docker/selenium/launch_selenium_test
@@ -0,0 +1,18 @@
+#!/bin/bash
+
+# update wallet and pack extension
+(cd $HOME/wallet-webex \
+ && git pull \
+ && ./configure \
+ && make \
+ && xvfb-run chromium --pack-extension $HOME/wallet-webex)
+
+eval $(docker-machine env)
+
+# Get fresh image
+docker restart container_chrome
+
+# call python3 selenium script
+python3 $HOME/wallet-webex/selenium/test.py \
+ --ext=$HOME/ext.crx \
+ --remote=http://$IP:4444/wd/hub