mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
FIX: Fix behat tests.
Update behat test config for simplified test run.
This commit is contained in:
parent
bf9939e32c
commit
eef14c1afc
1
.gitattributes
vendored
1
.gitattributes
vendored
@ -1,5 +1,6 @@
|
|||||||
docs/ export-ignore
|
docs/ export-ignore
|
||||||
javascript/src/ export ignore
|
javascript/src/ export ignore
|
||||||
|
behat.yml export ignore
|
||||||
|
|
||||||
# Hide diffs
|
# Hide diffs
|
||||||
javascript/dist/ -diff
|
javascript/dist/ -diff
|
||||||
|
@ -2,11 +2,15 @@ default:
|
|||||||
context:
|
context:
|
||||||
class: SilverStripe\Cms\Test\Behaviour\FeatureContext
|
class: SilverStripe\Cms\Test\Behaviour\FeatureContext
|
||||||
extensions:
|
extensions:
|
||||||
SilverStripe\BehatExtension\Extension: ~
|
SilverStripe\BehatExtension\Extension:
|
||||||
|
framework_path: framework
|
||||||
|
bootstrap_file: "tests/behat/serve-bootstrap.php"
|
||||||
Behat\MinkExtension\Extension:
|
Behat\MinkExtension\Extension:
|
||||||
# Adjust this to your local environment
|
# Designed to run using the below
|
||||||
base_url: http://localhost/
|
# `vendor/bin/serve --bootstrap-file tests/behat/serve-bootstrap.php`
|
||||||
files_path: %behat.paths.features%/files/
|
# `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
|
default_session: selenium2
|
||||||
javascript_session: selenium2
|
javascript_session: selenium2
|
||||||
selenium2:
|
selenium2:
|
BIN
tests/behat/features/files/document.pdf
Normal file
BIN
tests/behat/features/files/document.pdf
Normal file
Binary file not shown.
BIN
tests/behat/features/files/file1.jpg
Normal file
BIN
tests/behat/features/files/file1.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.2 KiB |
BIN
tests/behat/features/files/file2.jpg
Normal file
BIN
tests/behat/features/files/file2.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.8 KiB |
BIN
tests/behat/features/files/testfile.jpg
Normal file
BIN
tests/behat/features/files/testfile.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.4 KiB |
Loading…
Reference in New Issue
Block a user