implemented basic e2e testing
This commit is contained in:
parent
705617abe7
commit
a2ed7164e4
11 changed files with 1540 additions and 0 deletions
20
docker-compose.ci.yml
Normal file
20
docker-compose.ci.yml
Normal file
|
@ -0,0 +1,20 @@
|
|||
version: '3.3'
|
||||
|
||||
services:
|
||||
|
||||
wait_app:
|
||||
image: dadarek/wait-for-dependencies
|
||||
depends_on:
|
||||
- traefik
|
||||
command: front:8080
|
||||
cypress:
|
||||
# the Docker image to use from https://github.com/cypress-io/cypress-docker-images
|
||||
image: "cypress/included:3.2.0"
|
||||
depends_on:
|
||||
- traefik
|
||||
environment:
|
||||
# pass base url to test pointing at the web application
|
||||
- CYPRESS_baseUrl=http://front:8080
|
||||
working_dir: /e2e
|
||||
volumes:
|
||||
- ./e2e/:/e2e
|
Loading…
Add table
Add a link
Reference in a new issue