Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Daniel-Pablo's avatar

SOLVED - how to remove dusk verbose logs generated by pest and vite

Hi laracast community I am trying to remove the verbose that is been generated by dusk when testing dusk with pest and running vite this is the output

$ pdusk
Warning: TTY mode is not supported on Windows platform.

DevTools listening on ws://127.0.0.1:59334/devtools/browser/d1ce33d5-89c6-4192-a907-74949e8fcd28
[0726/094659.459:INFO:CONSOLE(187)] "[vite] connecting...", source: http://127.0.0.1:5173/@vite/client (187)
[0726/094659.466:INFO:CONSOLE(266)] "[vite] connected.", source: http://127.0.0.1:5173/@vite/client (266)
[0726/094701.100:INFO:CONSOLE(187)] "[vite] connecting...", source: http://127.0.0.1:5173/@vite/client (187)
[0726/094701.130:INFO:CONSOLE(266)] "[vite] connected.", source: http://127.0.0.1:5173/@vite/client (266)
[0726/094701.339:INFO:CONSOLE(187)] "[vite] connecting...", source: http://127.0.0.1:5173/@vite/client (187)
[0726/094701.355:INFO:CONSOLE(266)] "[vite] connected.", source: http://127.0.0.1:5173/@vite/client (266)
[0726/094701.390:INFO:CONSOLE(0)] "Autofocus processing was blocked because a document already has a focused element.", source: http://localhost/
login (0)
[0726/094701.533:INFO:CONSOLE(187)] "[vite] connecting...", source: http://127.0.0.1:5173/@vite/client (187)
[0726/094701.549:INFO:CONSOLE(266)] "[vite] connected.", source: http://127.0.0.1:5173/@vite/client (266)
[0726/094701.723:INFO:CONSOLE(187)] "[vite] connecting...", source: http://127.0.0.1:5173/@vite/client (187)
[0726/094701.726:INFO:CONSOLE(266)] "[vite] connected.", source: http://127.0.0.1:5173/@vite/client (266)

   PASS  Tests\Browser\WelcomePageFrontEndTest
  ✓ guest can enter welcome page
  ✓ guest can click log in btn
  ✓ guest can click register btn

  Tests:  3 passed
  Time:   8.11s

as you can see I just want to keep the final part this one

   PASS  Tests\Browser\WelcomePageFrontEndTest
  ✓ guest can enter welcome page
  ✓ guest can click log in btn
  ✓ guest can click register btn

  Tests:  3 passed
  Time:   8.11s

not all the other information of connections because are not adding nothing to the TDD

Thanks in advance for your help

0 likes
1 reply

Please or to participate in this conversation.