minor #10972 [Travis] Use HTTPS for JS Behat tests (pamil)

This PR was merged into the 1.7-dev branch.

Discussion
----------



Commits
-------

f7143b12ce [Travis] Use HTTPS for JS Behat tests
This commit is contained in:
Mateusz Zalewski 2019-12-19 08:32:46 +01:00 committed by GitHub
commit f664509c5c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View file

@ -21,7 +21,7 @@ default:
Behat\MinkExtension:
files_path: "%paths.base%/src/Sylius/Behat/Resources/fixtures/"
base_url: "http://localhost:8080/"
base_url: "https://localhost:8080/"
default_session: symfony
javascript_session: chrome
sessions:

View file

@ -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 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() {