diff options
author | Chocobozzz <me@florianbigard.com> | 2021-09-02 08:57:59 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-09-02 09:07:42 +0200 |
commit | 12d6b873cd4c5eb8c4fd298885e0c7fa6deb3756 (patch) | |
tree | 1abc21b305242e1d5bacefc99c2352b34396a5ab /scripts/e2e | |
parent | 6527eb0ccf823b5eac547c90066d3bd693094b2c (diff) | |
download | PeerTube-12d6b873cd4c5eb8c4fd298885e0c7fa6deb3756.tar.gz PeerTube-12d6b873cd4c5eb8c4fd298885e0c7fa6deb3756.tar.zst PeerTube-12d6b873cd4c5eb8c4fd298885e0c7fa6deb3756.zip |
Improve e2e workflow and add doc
Diffstat (limited to 'scripts/e2e')
-rwxr-xr-x | scripts/e2e/browserstack.sh (renamed from scripts/e2e/index.sh) | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/scripts/e2e/index.sh b/scripts/e2e/browserstack.sh index 49d57f1df..69a12d14c 100755 --- a/scripts/e2e/index.sh +++ b/scripts/e2e/browserstack.sh | |||
@@ -4,11 +4,6 @@ set -eu | |||
4 | 4 | ||
5 | npm run clean:server:test | 5 | npm run clean:server:test |
6 | 6 | ||
7 | ( | ||
8 | cd client | ||
9 | npm run webpack -- --config webpack/webpack.video-embed.js --mode development | ||
10 | ) | ||
11 | |||
12 | npm run concurrently -- -k -s first \ | 7 | npm run concurrently -- -k -s first \ |
13 | "cd client && npm run ng -- e2e --port 3333" \ | 8 | "cd client/e2e && ../node_modules/.bin/wdio run ./wdio.browserstack.conf.ts" \ |
14 | "NODE_ENV=test NODE_APP_INSTANCE=1 NODE_CONFIG='{ \"log\": { \"level\": \"warn\" }, \"signup\": { \"enabled\": false } }' node dist/server" | 9 | "NODE_ENV=test NODE_APP_INSTANCE=1 NODE_CONFIG='{ \"log\": { \"level\": \"warn\" }, \"signup\": { \"enabled\": false } }' node dist/server" |