aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/e2e/local.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/e2e/local.sh')
-rwxr-xr-xscripts/e2e/local.sh10
1 files changed, 9 insertions, 1 deletions
diff --git a/scripts/e2e/local.sh b/scripts/e2e/local.sh
index bbbdb5f0b..fe8b7f559 100755
--- a/scripts/e2e/local.sh
+++ b/scripts/e2e/local.sh
@@ -4,6 +4,14 @@ set -eu
4 4
5npm run clean:server:test 5npm run clean:server:test
6 6
7config="{"
8config+=" \"rates_limit\": { \"api\": { \"max\": 5000 }, \"login\": { \"max\": 5000 } }"
9config+=", \"log\": { \"level\": \"warn\" }"
10config+=", \"signup\": { \"enabled\": false }"
11config+=", \"transcoding\": { \"enabled\": false }"
12config+="}"
13
7npm run concurrently -- -k -s first \ 14npm run concurrently -- -k -s first \
8 "cd client/e2e && ../node_modules/.bin/wdio run ./wdio.local.conf.ts" \ 15 "cd client/e2e && ../node_modules/.bin/wdio run ./wdio.local.conf.ts" \
9 "NODE_ENV=test NODE_APP_INSTANCE=1 NODE_CONFIG='{ \"log\": { \"level\": \"warn\" }, \"signup\": { \"enabled\": false } }' node dist/server" 16 "NODE_ENV=test NODE_CONFIG='$config' NODE_APP_INSTANCE=1 node dist/server" \
17 "NODE_ENV=test NODE_CONFIG='$config' NODE_APP_INSTANCE=2 node dist/server"