silverstripe-installer/behat.yml

22 lines
946 B
YAML
Raw Permalink Normal View History

2018-04-12 23:27:25 +02:00
# Note: Currently chrome latest is recommended
# Behat test setup requires an `.env` with `SS_BASE_URL` defined, as well
# as each of the following commands to initiate a test run:
# ========================================================================= #
2018-04-12 23:27:25 +02:00
# composer require silverstripe/recipe-testing ^1
# vendor/bin/behat-ss @<module>
# ========================================================================= #
2012-11-15 17:57:58 +01:00
default:
2017-04-21 06:43:35 +02:00
suites: []
2012-11-15 17:57:58 +01:00
extensions:
SilverStripe\BehatExtension\MinkExtension:
2018-04-12 23:27:25 +02:00
default_session: facebook_web_driver
javascript_session: facebook_web_driver
facebook_web_driver:
browser: chrome
wd_host: "http://127.0.0.1:9515" #chromedriver port
browser_name: chrome
2017-04-21 06:43:35 +02:00
SilverStripe\BehatExtension\Extension:
2017-10-02 14:44:14 +02:00
bootstrap_file: vendor/silverstripe/cms/tests/behat/serve-bootstrap.php
2017-04-21 06:43:35 +02:00
screenshot_path: %paths.base%/artifacts/screenshots
retry_seconds: 4 # default is 2