mirror of
https://github.com/silverstripe/silverstripe-installer
synced 2024-10-22 17:05:33 +02:00
21 lines
1.0 KiB
YAML
21 lines
1.0 KiB
YAML
# 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>
|
|
# ========================================================================= #
|
|
default:
|
|
suites: []
|
|
extensions:
|
|
SilverStripe\BehatExtension\MinkExtension:
|
|
default_session: selenium2
|
|
javascript_session: selenium2
|
|
selenium2:
|
|
browser: firefox
|
|
SilverStripe\BehatExtension\Extension:
|
|
bootstrap_file: cms/tests/behat/serve-bootstrap.php
|
|
screenshot_path: %paths.base%/artifacts/screenshots
|