Remove vagrant and add testing docker
This commit is contained in:
17
docker-compose-cypress.yaml
Normal file
17
docker-compose-cypress.yaml
Normal file
@@ -0,0 +1,17 @@
|
||||
version: "3.5"
|
||||
services:
|
||||
# Cypress container
|
||||
cypress:
|
||||
network_mode: host
|
||||
# the Docker image to use from https://github.com/cypress-io/cypress-docker-images
|
||||
image: "cypress/included:3.2.0"
|
||||
environment:
|
||||
# pass base url to test pointing at the web application
|
||||
- CYPRESS_baseUrl=http://icehrm:8090
|
||||
# share the current folder as volume to avoid copying
|
||||
working_dir: /e2e
|
||||
volumes:
|
||||
- ./test/frontend:/e2e
|
||||
|
||||
volumes:
|
||||
db_data:
|
||||
Reference in New Issue
Block a user