forked from tractorcow/recipe-testing
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update behat instructions and config
- Loading branch information
Damian Mooyman
committed
Mar 16, 2018
1 parent
f0ce4f9
commit 4653334
Showing
1 changed file
with
11 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,21 @@ | ||
# Note: Currently firefox 31-ESR is recommended | ||
# Note: Currently chrome latest is recommended | ||
# Behat test setup requires an `.env` with `SS_BASE_URL` defined, as well | ||
# as each of the following commands to initiate a test run: | ||
# ========================================================================= # | ||
# composer require silverstripe/recipe-testing 1.0.x-dev | ||
# vendor/bin/selenium-server-standalone -Dwebdriver.firefox.bin="/Applications/Firefox31.app/Contents/MacOS/firefox-bin" | ||
# vendor/bin/serve --bootstrap-file cms/tests/behat/serve-bootstrap.php | ||
# vendor/bin/behat @<module> | ||
# composer require silverstripe/recipe-testing ^1 | ||
# vendor/bin/behat-ss @<module> | ||
# ========================================================================= # | ||
default: | ||
suites: [] | ||
extensions: | ||
SilverStripe\BehatExtension\MinkExtension: | ||
default_session: selenium2 | ||
javascript_session: selenium2 | ||
selenium2: | ||
browser: firefox | ||
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 | ||
SilverStripe\BehatExtension\Extension: | ||
bootstrap_file: cms/tests/behat/serve-bootstrap.php | ||
bootstrap_file: vendor/silverstripe/cms/tests/behat/serve-bootstrap.php | ||
screenshot_path: %paths.base%/artifacts/screenshots | ||
retry_seconds: 4 # default is 2 |