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:
2020-10-20 08:05:16 +02:00
- "%paths.modules.cms%/tests/behat/features"
2017-04-21 07:10:48 +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
- SilverStripe\CMS\Tests\Behaviour\FixtureContext:
# Note: double indent for args is intentional
2020-10-20 08:05:16 +02:00
- "%paths.modules.cms%/tests/behat/features/files/"
2017-04-21 07:10:48 +02:00
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:
2020-10-20 08:05:16 +02:00
screenshot_path: "%paths.base%/artifacts/screenshots"
2017-04-21 07:10:48 +02:00
bootstrap_file: "tests/behat/serve-bootstrap.php"