silverstripe-blog/behat.yml
2021-11-13 20:33:35 +13:00

30 lines
1.1 KiB
YAML

default:
suites:
blog:
paths:
- "%paths.modules.blog%/tests/behat/features"
contexts:
- SilverStripe\Admin\Tests\Behat\Context\AdminContext
- SilverStripe\BehatExtension\Context\BasicContext
- SilverStripe\BehatExtension\Context\EmailContext
- SilverStripe\BehatExtension\Context\LoginContext
- SilverStripe\Framework\Tests\Behaviour\CmsFormsContext
- SilverStripe\Framework\Tests\Behaviour\CmsUiContext
- SilverStripe\Blog\Tests\Behat\Context\FeatureContext
- SilverStripe\Blog\Tests\Behat\Context\FixtureContext
-
SilverStripe\Blog\Tests\Behat\Context\FixtureContext:
- "%paths.modules.blog%/tests/behat/files/"
extensions:
SilverStripe\BehatExtension\MinkExtension:
default_session: facebook_web_driver
javascript_session: facebook_web_driver
facebook_web_driver:
browser: chrome
wd_host: "http://127.0.0.1:9515"
SilverStripe\BehatExtension\Extension:
screenshot_path: "%paths.base%/artifacts/screenshots"
bootstrap_file: vendor/silverstripe/framework/tests/behat/serve-bootstrap.php