2012-11-09 19:15:54 +01:00
|
|
|
default:
|
|
|
|
context:
|
|
|
|
class: SilverStripe\Cms\Test\Behaviour\FeatureContext
|
|
|
|
extensions:
|
2016-10-28 06:44:32 +02:00
|
|
|
SilverStripe\BehatExtension\Extension:
|
|
|
|
framework_path: framework
|
|
|
|
bootstrap_file: "tests/behat/serve-bootstrap.php"
|
2012-11-09 19:15:54 +01:00
|
|
|
Behat\MinkExtension\Extension:
|
2016-10-28 06:44:32 +02:00
|
|
|
# Designed to run using the below
|
|
|
|
# `vendor/bin/serve --bootstrap-file tests/behat/serve-bootstrap.php`
|
|
|
|
# `vendor/bin/selenium-server-standalone -Dwebdriver.firefox.bin="/Applications/Firefox31.app/Contents/MacOS/firefox-bin"`
|
|
|
|
base_url: http://localhost:8080/
|
|
|
|
files_path: %behat.paths.base%/framework/tests/behat/features/files/
|
2012-11-09 19:15:54 +01:00
|
|
|
default_session: selenium2
|
|
|
|
javascript_session: selenium2
|
|
|
|
selenium2:
|
|
|
|
browser: firefox
|
|
|
|
|
|
|
|
# Alternative profile, use with "vendor/bin/behat --profile chrome"
|
|
|
|
chrome:
|
|
|
|
extensions:
|
|
|
|
Behat\MinkExtension\Extension:
|
|
|
|
selenium2:
|
|
|
|
browser: chrome
|
|
|
|
|
|
|
|
# Saucelabs.com sample setup, use with "vendor/bin/behat --profile saucelabs"
|
|
|
|
saucelabs:
|
|
|
|
extensions:
|
|
|
|
Behat\MinkExtension\Extension:
|
|
|
|
selenium2:
|
|
|
|
browser: firefox
|
|
|
|
# Add your own username and API token here
|
|
|
|
wd_host: <user>:<api-token>@ondemand.saucelabs.com/wd/hub
|
|
|
|
capabilities:
|
|
|
|
platform: "Windows 2008"
|
|
|
|
browser: "firefox"
|
2016-01-06 00:42:07 +01:00
|
|
|
version: "15"
|