Last active
October 17, 2018 17:06
-
-
Save Saeven/4fa7ac0eaa73dd60bbc1ff6176f33b71 to your computer and use it in GitHub Desktop.
Behat test configuration
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# behat.yml | |
default: | |
autoload: [ %paths.base%/../contexts ] | |
suites: | |
core_features: | |
paths: [ %paths.base%/../features ] | |
contexts: [ FeatureContext ] | |
extensions: | |
shvetsgroup\ParallelRunner\Extension: | |
process_count: 4 | |
Behat\MinkExtension: | |
base_url: http://host.docker.internal:42800 | |
javascript_session: selenium2 | |
browser_name: chrome | |
goutte: ~ | |
selenium2: | |
browser: chrome | |
capabilities: | |
chrome: | |
switches: | |
- "--headless" | |
- "--disable-gpu" | |
- "--window-size=1920,1080" | |
- "--no-sandbox" | |
- "--blink-settings=imagesEnabled=false" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "2" | |
services: | |
php: | |
image: circlical/php7app:latest | |
volumes: | |
- nfsmount:/code | |
networks: | |
- lemonade-testnet | |
web: | |
image: nginx:latest | |
ports: | |
- "42800:80" | |
depends_on: | |
- php | |
volumes: | |
- nfsmount:/code | |
- ./nginx.conf:/etc/nginx/conf.d/site.conf | |
links: | |
- php | |
networks: | |
- lemonade-testnet | |
chrome: | |
image: selenium/node-chrome:3.14.0-helium | |
volumes: | |
- /dev/shm:/dev/shm | |
depends_on: | |
- hub | |
environment: | |
HUB_HOST: hub | |
networks: | |
- lemonade-testnet | |
hub: | |
image: selenium/hub:3.14.0-helium | |
ports: | |
- "4444:4444" | |
networks: | |
- lemonade-testnet | |
networks: | |
lemonade-testnet: | |
driver_opts: | |
com.docker.network.driver.mtu: 1450 | |
driver: bridge | |
volumes: | |
nfsmount: | |
driver: local | |
driver_opts: | |
type: nfs | |
o: addr=host.docker.internal,rw,nolock,hard,nointr,nfsvers=3 | |
device: ":${PWD}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment