2017-05-22 03:41:00 +02:00
|
|
|
# Note: Currently firefox 31-ESR 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:
|
|
|
|
# ========================================================================= #
|
|
|
|
# composer require silverstripe/behat-extension:^3 silverstripe/serve:dev-master se/selenium-server-standalone:2.41.0
|
|
|
|
# vendor/bin/selenium-server-standalone -Dwebdriver.firefox.bin="/Applications/Firefox31.app/Contents/MacOS/firefox-bin"
|
|
|
|
# vendor/bin/serve --bootstrap-file cms/tests/behat/serve-bootstrap.php
|
|
|
|
# vendor/bin/behat @<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:
|
2013-05-09 16:00:50 +02:00
|
|
|
SilverStripe\BehatExtension\MinkExtension:
|
2012-11-15 17:57:58 +01:00
|
|
|
default_session: selenium2
|
|
|
|
javascript_session: selenium2
|
|
|
|
selenium2:
|
2013-05-09 16:00:50 +02:00
|
|
|
browser: firefox
|
2017-04-21 06:43:35 +02:00
|
|
|
SilverStripe\BehatExtension\Extension:
|
2017-05-22 03:41:00 +02:00
|
|
|
bootstrap_file: cms/tests/behat/serve-bootstrap.php
|
2017-04-21 06:43:35 +02:00
|
|
|
screenshot_path: %paths.base%/artifacts/screenshots
|