aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/e2e/local.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/e2e/local.sh')
-rwxr-xr-xscripts/e2e/local.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/scripts/e2e/local.sh b/scripts/e2e/local.sh
new file mode 100755
index 000000000..65ec653dc
--- /dev/null
+++ b/scripts/e2e/local.sh
@@ -0,0 +1,16 @@
1#!/bin/sh
2
3set -eu
4
5npm 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
13npm run concurrently -- -k -s first \
14 "cd client && npm run webdriver-manager start" \
15 "cd client && npm run ng -- e2e --port 3333 -c local" \
16 "NODE_ENV=test NODE_APP_INSTANCE=1 NODE_CONFIG='{ \"log\": { \"level\": \"warning\" } }' npm start"