[Travis] Use HTTPS for JS Behat tests

This commit is contained in:
Kamil Kokot 2019-12-18 16:53:38 +01:00
parent 35db7ead7b
commit f7143b12ce
No known key found for this signature in database
GPG key ID: 7BD76F7054D93C89
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() {