aboutsummaryrefslogtreecommitdiffstats
path: root/test/e2e/beta/run-web3.sh
diff options
context:
space:
mode:
authorSneh Koul <35871990+Sneh1999@users.noreply.github.com>2019-04-17 01:59:11 +0800
committerDan J Miller <danjm.com@gmail.com>2019-04-17 01:59:11 +0800
commitfb22fb12cafec238a2143df6e94218c890e4ba4e (patch)
treec44774b4aefae5b0866ea9f92d3e89fb4f34e55a /test/e2e/beta/run-web3.sh
parent76075ac6528a6cca92b29cf024eb00ab25a6f9aa (diff)
downloadtangerine-wallet-browser-fb22fb12cafec238a2143df6e94218c890e4ba4e.tar.gz
tangerine-wallet-browser-fb22fb12cafec238a2143df6e94218c890e4ba4e.tar.zst
tangerine-wallet-browser-fb22fb12cafec238a2143df6e94218c890e4ba4e.zip
Adds e2e test for most web3 methods that dapps use (#6160)
* schema added * ui for the dapp added and schema.js changed according to the comments in PR * added tests for all web3 methods * Update run-all.sh * Update web3.spec.js to work with new onboarding flow * changes made according to the comments * Create stand alone script for web3 e2e tests. * Lint fixes for web3 e2e tests.
Diffstat (limited to 'test/e2e/beta/run-web3.sh')
-rwxr-xr-xtest/e2e/beta/run-web3.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/e2e/beta/run-web3.sh b/test/e2e/beta/run-web3.sh
new file mode 100755
index 000000000..9f77060de
--- /dev/null
+++ b/test/e2e/beta/run-web3.sh
@@ -0,0 +1,9 @@
+#!/usr/bin/env bash
+
+set -e
+set -u
+set -o pipefail
+
+export PATH="$PATH:./node_modules/.bin"
+
+shell-parallel -s 'static-server test/web3 --port 8080' -x 'sleep 5 && mocha test/e2e/beta/web3.spec' \ No newline at end of file