1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-04 10:19:35 +02:00

Improve e2e workflow and add doc

This commit is contained in:
Chocobozzz 2021-09-02 08:57:59 +02:00
parent 6527eb0ccf
commit 12d6b873cd
No known key found for this signature in database
GPG key ID: 583A612D890159BE
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"