aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-09-02 08:57:59 +0200
committerChocobozzz <me@florianbigard.com>2021-09-02 09:07:42 +0200
commit12d6b873cd4c5eb8c4fd298885e0c7fa6deb3756 (patch)
tree1abc21b305242e1d5bacefc99c2352b34396a5ab /scripts
parent6527eb0ccf823b5eac547c90066d3bd693094b2c (diff)
downloadPeerTube-12d6b873cd4c5eb8c4fd298885e0c7fa6deb3756.tar.gz
PeerTube-12d6b873cd4c5eb8c4fd298885e0c7fa6deb3756.tar.zst
PeerTube-12d6b873cd4c5eb8c4fd298885e0c7fa6deb3756.zip
Improve e2e workflow and add doc
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/e2e/browserstack.sh (renamed from scripts/e2e/index.sh)7
-rwxr-xr-xscripts/test.sh7
2 files changed, 3 insertions, 11 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
5npm run clean:server:test 5npm run clean:server:test
6 6
7(
8 cd client
9 npm run webpack -- --config webpack/webpack.video-embed.js --mode development
10)
11
12npm run concurrently -- -k -s first \ 7npm 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"
diff --git a/scripts/test.sh b/scripts/test.sh
index 01b259fe2..2dc79c6ce 100755
--- a/scripts/test.sh
+++ b/scripts/test.sh
@@ -2,11 +2,6 @@
2 2
3set -eu 3set -eu
4 4
5npm run build:server
6npm run setup:cli
7
8npm run ci -- lint
9
10npm run ci -- client 5npm run ci -- client
11npm run ci -- cli-plugin 6npm run ci -- cli-plugin
12npm run ci -- api-1 7npm run ci -- api-1
@@ -14,3 +9,5 @@ npm run ci -- api-2
14npm run ci -- api-3 9npm run ci -- api-3
15npm run ci -- api-4 10npm run ci -- api-4
16npm run ci -- external-plugins 11npm run ci -- external-plugins
12
13npm run ci -- lint