Shuts down and cleans up docker containers after tests run
This commit is contained in:
parent
3055c58e17
commit
44bf6557c6
|
@ -12,7 +12,7 @@
|
|||
"test:once": "ng test --code-coverage --watch=false",
|
||||
"lint": "ng lint",
|
||||
"e2e": "./node_modules/protractor/bin/webdriver-manager update && ng e2e",
|
||||
"e2e:with-wf": "npm run e2e-wf && ng e2e",
|
||||
"e2e:with-wf": "npm run e2e-wf && ng e2e && npm run e2e-wf:stop && npm run e2e-wf:clean",
|
||||
"e2e-wf:stop": "docker stop db || true && docker stop backend || true",
|
||||
"e2e-wf:clean": "docker system prune -f && cd docker && docker-compose rm -f -v -s && cd ..",
|
||||
"e2e-wf:build": "cd docker && docker-compose pull && docker-compose build --no-cache && cd ..",
|
||||
|
|
Loading…
Reference in New Issue