]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - scripts/e2e.sh
Bumped to version v1.0.0-beta.10.pre.1
[github/Chocobozzz/PeerTube.git] / scripts / e2e.sh
index b1e9245c1379ba32a6d4eeb7f7975d1a0ff9c69a..1e31cd57cc7321f66b46f3d96e1781eb84c095bf 100755 (executable)
@@ -2,10 +2,15 @@
 
 set -eu
 
-#npm run build:server
 npm run clean:server:test
 
-concurrently -k -s first \
-    "cd client && npm run ng -- e2e" \
-    "NODE_ENV=test NODE_APP_INSTANCE=1 npm start"
+(
+    cd client
+    npm run webdriver-manager update
+    npm run webpack -- --config webpack/webpack.video-embed.js --mode development
+)
+
+npm run concurrently -- -k -s first \
+    "cd client && npm run ng -- e2e --port 3333" \
+    "NODE_ENV=test NODE_APP_INSTANCE=1 NODE_CONFIG='{ \"log\": { \"level\": \"warning\" } }' npm start"