Commit 2c5ad0c6 authored by Egor Kremnev's avatar Egor Kremnev

fix scripts

parent 45dd0b24
...@@ -42,6 +42,13 @@ info "Setup environment for dusk test" ...@@ -42,6 +42,13 @@ info "Setup environment for dusk test"
cp .env.dusk .env cp .env.dusk .env
php artisan key:generate php artisan key:generate
# Устанавливем браузер нужной версии для тестов
VERSION_STRING="114.0.5735.90" # Replace this value with the one you copied earlier
wget "https://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/google-chrome-stable_${VERSION_STRING}_amd64.deb"
sudo dpkg -i "google-chrome-stable_${VERSION_STRING}_amd64.deb"
rm -i "google-chrome-stable_${VERSION_STRING}_amd64.deb"
php artisan dusk:chrome-driver php artisan dusk:chrome-driver
nohup bash -c "php artisan serve --env=dusk --port=4343 2>&1 &" && sleep 5 nohup bash -c "php artisan serve --env=dusk --port=4343 2>&1 &" && sleep 5
php artisan dusk php artisan dusk
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment