Improve e2e workflow and add doc

This commit is contained in:
Chocobozzz
2021-09-02 08:57:59 +02:00
parent 6527eb0ccf
commit 12d6b873cd
10 changed files with 106 additions and 37 deletions

9
scripts/e2e/browserstack.sh Executable file
View File

@@ -0,0 +1,9 @@
#!/bin/sh
set -eu
npm run clean:server:test
npm run concurrently -- -k -s first \
"cd client/e2e && ../node_modules/.bin/wdio run ./wdio.browserstack.conf.ts" \
"NODE_ENV=test NODE_APP_INSTANCE=1 NODE_CONFIG='{ \"log\": { \"level\": \"warn\" }, \"signup\": { \"enabled\": false } }' node dist/server"