mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-14 09:02:12 +00:00
[Travis] Use HTTPS for JS Behat tests
This commit is contained in:
parent
35db7ead7b
commit
f7143b12ce
2 changed files with 3 additions and 2 deletions
|
|
@ -21,7 +21,7 @@ default:
|
||||||
|
|
||||||
Behat\MinkExtension:
|
Behat\MinkExtension:
|
||||||
files_path: "%paths.base%/src/Sylius/Behat/Resources/fixtures/"
|
files_path: "%paths.base%/src/Sylius/Behat/Resources/fixtures/"
|
||||||
base_url: "http://localhost:8080/"
|
base_url: "https://localhost:8080/"
|
||||||
default_session: symfony
|
default_session: symfony
|
||||||
javascript_session: chrome
|
javascript_session: chrome
|
||||||
sessions:
|
sessions:
|
||||||
|
|
|
||||||
|
|
@ -34,7 +34,8 @@ prepare_for_behat_with_js() {
|
||||||
run_command "java -Dwebdriver.chrome.driver=$SYLIUS_CACHE_DIR/chromedriver -jar $SYLIUS_CACHE_DIR/selenium.jar > /dev/null 2>&1 &"
|
run_command "java -Dwebdriver.chrome.driver=$SYLIUS_CACHE_DIR/chromedriver -jar $SYLIUS_CACHE_DIR/selenium.jar > /dev/null 2>&1 &"
|
||||||
|
|
||||||
# Run webserver
|
# Run webserver
|
||||||
run_command "$SYLIUS_CACHE_DIR/symfony server:start --port=8080 --dir=public --allow-http --no-tls --force-php-discovery --daemon"
|
run_command "$SYLIUS_CACHE_DIR/symfony server:ca:install"
|
||||||
|
run_command "$SYLIUS_CACHE_DIR/symfony server:start --port=8080 --dir=public --force-php-discovery --daemon"
|
||||||
}
|
}
|
||||||
|
|
||||||
run_behat() {
|
run_behat() {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue