silverstripe-cms/behat.yml

30 lines
1.1 KiB
YAML
Raw Normal View History

2012-11-09 19:15:54 +01:00
default:
2017-04-21 07:10:48 +02:00
suites:
cms:
paths:
- %paths.modules.cms%/tests/behat/features
contexts:
- SilverStripe\Framework\Tests\Behaviour\FeatureContext
- SilverStripe\Framework\Tests\Behaviour\CmsFormsContext
- SilverStripe\Framework\Tests\Behaviour\CmsUiContext
- SilverStripe\BehatExtension\Context\BasicContext
- SilverStripe\BehatExtension\Context\EmailContext
- SilverStripe\CMS\Tests\Behaviour\LoginContext
- SilverStripe\CMS\Tests\Behaviour\ThemeContext
- SilverStripe\CMS\Tests\Behaviour\FixtureContext:
# Note: double indent for args is intentional
- %paths.modules.cms%/tests/behat/features/files/
2012-11-09 19:15:54 +01:00
extensions:
2017-04-21 07:10:48 +02:00
SilverStripe\BehatExtension\MinkExtension:
2018-04-12 06:06:49 +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
2012-11-09 19:15:54 +01:00
2017-04-21 07:10:48 +02:00
SilverStripe\BehatExtension\Extension:
2017-05-16 04:20:54 +02:00
screenshot_path: %paths.base%/artifacts/screenshots
2017-04-21 07:10:48 +02:00
bootstrap_file: "tests/behat/serve-bootstrap.php"