File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ APP_ENV=testing
33APP_KEY = base64:FTJwz+7HAjLqMzDr6SZh7va2aCpamPHfYNWswV0QU/g=
44APP_DEBUG = true
55APP_URL = http://127.0.0.1:47800
6+ DUSK_DRIVER_URL = http://localhost:9515
67
78# Configurações do Banco de Dados (MariaDB no Docker)
89DB_CONNECTION = mysql
@@ -26,8 +27,6 @@ SESSION_LIFETIME=120
2627# Configurações de Email (Não envia emails reais durante o teste)
2728MAIL_MAILER = log
2829
29- # Dusk Specific
30- # Força o Dusk a rodar em modo headless (sem abrir janela) se necessário
31- # Útil para ambientes de CI como GitHub Actions
32- # DUSK_START_MAXIMIZED=true
33- DUSK_HEADLESS_DISABLED = true
30+ # Dusk
31+ # DUSK_START_MAXIMIZED=true
32+ # DUSK_HEADLESS_DISABLED=true
Original file line number Diff line number Diff line change 6262 run : php artisan serve --port=47800 &
6363
6464 - name : Run Dusk
65- run : php artisan dusk
65+ run : php artisan dusk --without-tty
Original file line number Diff line number Diff line change @@ -33,6 +33,8 @@ protected function driver(): RemoteWebDriver
3333 $ this ->shouldStartMaximized () ? '--start-maximized ' : '--window-size=1920,1080 ' ,
3434 '--disable-search-engine-choice-screen ' ,
3535 '--disable-smooth-scrolling ' ,
36+ '--no-sandbox ' ,
37+ '--disable-dev-shm-usage ' ,
3638 ])->unless ($ this ->hasHeadlessDisabled (), function (Collection $ items ) {
3739 return $ items ->merge ([
3840 '--disable-gpu ' ,
You can’t perform that action at this time.
0 commit comments