diff options
author | Marcello Stanisci <marcello.stanisci@inria.fr> | 2016-11-13 02:12:35 +0100 |
---|---|---|
committer | Marcello Stanisci <marcello.stanisci@inria.fr> | 2016-11-13 02:12:35 +0100 |
commit | b0be987af1154ee2a160a5ab78a4aed8d61c69ba (patch) | |
tree | 74298980675a14f418abc7a3f2262cde311a70b5 /docker/selenium/launch_selenium_test | |
parent | a224d53923e76e17e10ab31309d11632ebe8b5ba (diff) | |
parent | 3979cc8a34f47e2778c6adc31e75ebe3f59f4465 (diff) | |
download | deployment-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-x | docker/selenium/launch_selenium_test | 18 |
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 |