silverstripe-cms/behat.yml

38 lines
1.3 KiB
YAML
Raw Normal View History

2012-11-09 19:15:54 +01:00
default:
context:
class: SilverStripe\Cms\Test\Behaviour\FeatureContext
extensions:
SilverStripe\BehatExtension\Extension:
framework_path: framework
bootstrap_file: "tests/behat/serve-bootstrap.php"
2012-11-09 19:15:54 +01:00
Behat\MinkExtension\Extension:
# 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"
version: "15"