silverstripe-behat-extension/config/silverstripe.yml
2024-04-12 12:17:30 +12:00

31 lines
1.4 KiB
YAML

parameters:
silverstripe_extension.context.initializer.class: SilverStripe\BehatExtension\Context\Initializer\SilverStripeAwareInitializer
# Moved to PHP. See Extension::load()
# console.processor.locator.class: SilverStripe\BehatExtension\Controllers\LocatorProcessor
# Custom init processory temporarily removed
# console.processor.init.class: SilverStripe\BehatExtension\Controllers\InitProcessor
silverstripe_extension.ajax_steps: ~
silverstripe_extension.ajax_timeout: ~
silverstripe_extension.admin_url: ~
silverstripe_extension.is_ci: ~
silverstripe_extension.login_url: ~
silverstripe_extension.screenshot_path: ~
silverstripe_extension.module:
silverstripe_extension.region_map: ~
silverstripe_extension.context.namespace_suffix: Tests\Behaviour
silverstripe_extension.context.features_path: tests/behat/features/
silverstripe_extension.context.class_path: tests/behat/src/
services:
silverstripe_extension.context.initializer:
class: '%silverstripe_extension.context.initializer.class%'
calls:
- [setAjaxSteps, ['%silverstripe_extension.ajax_steps%']]
- [setAjaxTimeout, ['%silverstripe_extension.ajax_timeout%']]
- [setAdminUrl, ['%silverstripe_extension.admin_url%']]
- [setLoginUrl, ['%silverstripe_extension.login_url%']]
- [setScreenshotPath, ['%silverstripe_extension.screenshot_path%']]
- [setRegionMap, ['%silverstripe_extension.region_map%']]
tags:
- { name: context.initializer }