2018-04-12 23:27:25 +02:00
|
|
|
# Note: Currently chrome latest is recommended
|
2017-05-22 03:41:00 +02:00
|
|
|
# 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>
|
2017-05-22 03:41:00 +02:00
|
|
|
# ========================================================================= #
|
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:
|
2013-05-09 16:00:50 +02:00
|
|
|
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
|
2017-08-23 02:15:33 +02:00
|
|
|
retry_seconds: 4 # default is 2
|