MNT Update Behat config to support Symfony 4

This commit is contained in:
Garion Herman 2020-10-16 12:03:07 +13:00
parent 7278c43267
commit 758e60c22f
1 changed files with 4 additions and 4 deletions

View File

@ -9,7 +9,7 @@ default:
suites: suites:
framework: framework:
paths: paths:
- %paths.modules.admin%/tests/behat/features - '%paths.modules.admin%/tests/behat/features'
contexts: contexts:
- SilverStripe\Framework\Tests\Behaviour\FeatureContext - SilverStripe\Framework\Tests\Behaviour\FeatureContext
- SilverStripe\Framework\Tests\Behaviour\CmsFormsContext - SilverStripe\Framework\Tests\Behaviour\CmsFormsContext
@ -19,7 +19,7 @@ default:
- SilverStripe\BehatExtension\Context\LoginContext - SilverStripe\BehatExtension\Context\LoginContext
- -
SilverStripe\BehatExtension\Context\FixtureContext: SilverStripe\BehatExtension\Context\FixtureContext:
- %paths.modules.admin%/tests/behat/features/files/ - '%paths.modules.admin%/tests/behat/features/files/'
extensions: extensions:
SilverStripe\BehatExtension\MinkExtension: SilverStripe\BehatExtension\MinkExtension:
@ -30,5 +30,5 @@ default:
wd_host: "http://127.0.0.1:9515" #chromedriver port wd_host: "http://127.0.0.1:9515" #chromedriver port
SilverStripe\BehatExtension\Extension: SilverStripe\BehatExtension\Extension:
screenshot_path: %paths.base%/artifacts/screenshots screenshot_path: '%paths.base%/artifacts/screenshots'
bootstrap_file: "tests/behat/serve-bootstrap.php" bootstrap_file: "tests/behat/serve-bootstrap.php"