FIX: Fix behat tests.

Update behat test config for simplified test run.
This commit is contained in:
Sam Minnee 2016-10-28 17:44:32 +13:00
parent bf9939e32c
commit eef14c1afc
6 changed files with 9 additions and 4 deletions

1
.gitattributes vendored
View File

@ -1,5 +1,6 @@
docs/ export-ignore
javascript/src/ export ignore
behat.yml export ignore
# Hide diffs
javascript/dist/ -diff

View File

@ -2,11 +2,15 @@ default:
context:
class: SilverStripe\Cms\Test\Behaviour\FeatureContext
extensions:
SilverStripe\BehatExtension\Extension: ~
SilverStripe\BehatExtension\Extension:
framework_path: framework
bootstrap_file: "tests/behat/serve-bootstrap.php"
Behat\MinkExtension\Extension:
# Adjust this to your local environment
base_url: http://localhost/
files_path: %behat.paths.features%/files/
# Designed to run using the below
# `vendor/bin/serve --bootstrap-file tests/behat/serve-bootstrap.php`
# `vendor/bin/selenium-server-standalone -Dwebdriver.firefox.bin="/Applications/Firefox31.app/Contents/MacOS/firefox-bin"`
base_url: http://localhost:8080/
files_path: %behat.paths.base%/framework/tests/behat/features/files/
default_session: selenium2
javascript_session: selenium2
selenium2:

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB