silverstripe-framework/behat.yml

35 lines
1.6 KiB
YAML
Raw Permalink Normal View History

2018-06-20 06:46:47 +02:00
# Run framework behat tests with this command (installed with silverstripe/installer)
# Note that framework behat tests require CMS module
# ========================================================================= #
# vendor/bin/selenium-server-standalone -Dwebdriver.firefox.bin="/Applications/Firefox31.app/Contents/MacOS/firefox-bin"
# vendor/bin/serve --bootstrap-file vendor/silverstripe/framework/tests/behat/serve-bootstrap.php
# vendor/bin/behat @framework
# ========================================================================= #
default:
suites:
framework:
paths:
2020-10-20 07:50:59 +02:00
- "%paths.modules.admin%/tests/behat/features"
2018-06-20 06:46:47 +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\BehatExtension\Context\LoginContext
-
SilverStripe\BehatExtension\Context\FixtureContext:
2020-10-20 07:50:59 +02:00
- "%paths.modules.admin%/tests/behat/features/files/"
2018-06-20 06:46:47 +02:00
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" #chromedriver port
SilverStripe\BehatExtension\Extension:
2020-10-20 07:50:59 +02:00
screenshot_path: "%paths.base%/artifacts/screenshots"
bootstrap_file: "tests/behat/serve-bootstrap.php"