aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/e2e/browserstack.sh
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-09-02 08:57:59 +0200
committerChocobozzz <me@florianbigard.com>2021-09-02 09:07:42 +0200
commit12d6b873cd4c5eb8c4fd298885e0c7fa6deb3756 (patch)
tree1abc21b305242e1d5bacefc99c2352b34396a5ab /scripts/e2e/browserstack.sh
parent6527eb0ccf823b5eac547c90066d3bd693094b2c (diff)
downloadPeerTube-12d6b873cd4c5eb8c4fd298885e0c7fa6deb3756.tar.gz
PeerTube-12d6b873cd4c5eb8c4fd298885e0c7fa6deb3756.tar.zst
PeerTube-12d6b873cd4c5eb8c4fd298885e0c7fa6deb3756.zip
Improve e2e workflow and add doc
Diffstat (limited to 'scripts/e2e/browserstack.sh')
-rwxr-xr-xscripts/e2e/browserstack.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/e2e/browserstack.sh b/scripts/e2e/browserstack.sh
new file mode 100755
index 000000000..69a12d14c
--- /dev/null
+++ b/scripts/e2e/browserstack.sh
@@ -0,0 +1,9 @@
1#!/bin/sh
2
3set -eu
4
5npm run clean:server:test
6
7npm run concurrently -- -k -s first \
8 "cd client/e2e && ../node_modules/.bin/wdio run ./wdio.browserstack.conf.ts" \
9 "NODE_ENV=test NODE_APP_INSTANCE=1 NODE_CONFIG='{ \"log\": { \"level\": \"warn\" }, \"signup\": { \"enabled\": false } }' node dist/server"