aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/e2e.sh
blob: 0e70e6e51f835ac7cc2f8f794570bc7bd0d6b6cd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

set -eu

npm run clean:server:test

(
    cd client
    npm run webdriver-manager update
    npm run webpack -- --config webpack/webpack.video-embed.js --mode development
)

concurrently -k -s first \
    "cd client && npm run ng -- e2e --port 3333" \
    "NODE_ENV=test NODE_APP_INSTANCE=1 NODE_CONFIG='{ \"log\": { \"level\": \"warning\" } }' npm start"