]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - scripts/e2e.sh
Make it works with new autoplay policy
[github/Chocobozzz/PeerTube.git] / scripts / e2e.sh
1 #!/bin/sh
2
3 set -eu
4
5 npm run clean:server:test
6
7 (
8 cd client
9 npm run webdriver-manager update
10 npm run webpack -- --config webpack/webpack.video-embed.js --mode development
11 )
12
13 concurrently -k -s first \
14 "cd client && npm run ng -- e2e --port 3333" \
15 "NODE_ENV=test NODE_APP_INSTANCE=1 NODE_CONFIG='{ \"log\": { \"level\": \"warning\" } }' npm start"
16