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
|
||||
javascript/src/ export ignore
|
||||
behat.yml export ignore
|
||||
|
||||
# Hide diffs
|
||||
javascript/dist/ -diff
|
||||
|
@ -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:
|
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