Client E2E tests first step

This commit is contained in:
Chocobozzz
2018-05-16 19:59:21 +02:00
parent 6200d8d917
commit 74af5a8361
19 changed files with 1502 additions and 99 deletions

11
scripts/e2e.sh Executable file
View File

@@ -0,0 +1,11 @@
#!/bin/sh
set -eu
#npm run build:server
npm run clean:server:test
concurrently -k -s first \
"cd client && npm run ng -- e2e" \
"NODE_ENV=test NODE_APP_INSTANCE=1 npm start"

View File

@@ -4,4 +4,4 @@ set -eu
cd client
npm run ng -- serve --hmr --host 0.0.0.0 --disable-host-check --port 3000
npm run ng -- serve --hmr --configuration hmr --host 0.0.0.0 --disable-host-check --port 3000