2017-08-31 00:21:46 +02:00
|
|
|
default:
|
|
|
|
suites:
|
|
|
|
subsites:
|
|
|
|
paths:
|
2020-11-06 00:37:54 +01:00
|
|
|
- '%paths.modules.subsites%/tests/behat/features'
|
2017-08-31 00:21:46 +02:00
|
|
|
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
|
2021-11-12 00:38:44 +01:00
|
|
|
# Using asset-admin for fixture context to get iAttachTheFileToDropzone()
|
|
|
|
- SilverStripe\AssetAdmin\Tests\Behat\Context\FixtureContext:
|
2018-06-01 05:25:04 +02:00
|
|
|
# Note: double indent for args is intentional
|
2021-11-12 00:38:44 +01:00
|
|
|
- '%paths.modules.subsites%/tests/behat/files/'
|
2017-08-31 00:21:46 +02:00
|
|
|
|
|
|
|
extensions:
|
|
|
|
SilverStripe\BehatExtension\MinkExtension:
|
2018-06-01 05:25:04 +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
|
2017-08-31 00:21:46 +02:00
|
|
|
|
|
|
|
SilverStripe\BehatExtension\Extension:
|
2020-11-06 00:37:54 +01:00
|
|
|
screenshot_path: '%paths.base%/artifacts/screenshots'
|
2017-10-04 22:26:59 +02:00
|
|
|
bootstrap_file: "vendor/silverstripe/cms/tests/behat/serve-bootstrap.php"
|