summaryrefslogtreecommitdiff
path: root/selenium/launch_selenium_test
blob: 6024069ec79d20c876b564c9b007a3d6b1bb42b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/bash

ulimit -v 2097152

set -eu

cd $HOME/wallet-webex
git clean -fdx

git fetch
# reset to updated upstream branch, but only if we're tracking a branch
branch=$(git rev-parse --abbrev-ref --symbolic-full-name @{u} 2>/dev/null || echo HEAD)
git reset --hard "$branch"

git submodule update --remote

tsc # use 'make' once yarn problems art fixed.

# call python3 selenium script
python3 $HOME/wallet-webex/selenium/withdraw_buy.py \
  --ext-unpacked=$HOME/wallet-webex