summaryrefslogtreecommitdiff
path: root/docker/selenium/launch_selenium_test.sh
blob: 6bed99a708ebfb0e25a286357afb96c0778f78b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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