diff options
author | Chocobozzz <me@florianbigard.com> | 2018-05-17 10:55:01 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-05-17 15:20:21 +0200 |
commit | 5f92c4dc5f08094548be9d23080dd3ca75741c65 (patch) | |
tree | a5fd5e2e7f46b28817733afc3cd1a3afcdab0c3a /scripts | |
parent | 74af5a8361f4ccb460001706ce249d50c747f361 (diff) | |
download | PeerTube-5f92c4dc5f08094548be9d23080dd3ca75741c65.tar.gz PeerTube-5f92c4dc5f08094548be9d23080dd3ca75741c65.tar.zst PeerTube-5f92c4dc5f08094548be9d23080dd3ca75741c65.zip |
Add videos e2e tests
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/e2e.sh | 8 |
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 | ||
3 | set -eu | 3 | set -eu |
4 | 4 | ||
5 | #npm run build:server | ||
6 | npm run clean:server:test | 5 | npm run clean:server:test |
7 | 6 | ||
7 | ( | ||
8 | cd client | ||
9 | npm run webdriver-manager update | ||
10 | ) | ||
11 | |||
8 | concurrently -k -s first \ | 12 | concurrently -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 | ||