aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/e2e.sh
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-05-17 10:55:01 +0200
committerChocobozzz <me@florianbigard.com>2018-05-17 15:20:21 +0200
commit5f92c4dc5f08094548be9d23080dd3ca75741c65 (patch)
treea5fd5e2e7f46b28817733afc3cd1a3afcdab0c3a /scripts/e2e.sh
parent74af5a8361f4ccb460001706ce249d50c747f361 (diff)
downloadPeerTube-5f92c4dc5f08094548be9d23080dd3ca75741c65.tar.gz
PeerTube-5f92c4dc5f08094548be9d23080dd3ca75741c65.tar.zst
PeerTube-5f92c4dc5f08094548be9d23080dd3ca75741c65.zip
Add videos e2e tests
Diffstat (limited to 'scripts/e2e.sh')
-rwxr-xr-xscripts/e2e.sh8
1 files changed, 6 insertions, 2 deletions
diff --git a/scripts/e2e.sh b/scripts/e2e.sh
index b1e9245c1..bdd051486 100755
--- a/scripts/e2e.sh
+++ b/scripts/e2e.sh
@@ -2,10 +2,14 @@
2 2
3set -eu 3set -eu
4 4
5#npm run build:server
6npm run clean:server:test 5npm run clean:server:test
7 6
7(
8 cd client
9 npm run webdriver-manager update
10)
11
8concurrently -k -s first \ 12concurrently -k -s first \
9 "cd client && npm run ng -- e2e" \ 13 "cd client && npm run ng -- e2e" \
10 "NODE_ENV=test NODE_APP_INSTANCE=1 npm start" 14 "NODE_ENV=test NODE_APP_INSTANCE=1 NODE_CONFIG='{ \"log\": { \"level\": \"warning\" } }' npm start"
11 15