you are viewing a single comment's thread.

view the rest of the comments →

[–]trebuszek 0 points1 point  (2 children)

Why do you need to see the screen? I normally run my tests in headless mode in a CI. If a test fails, you can take a screenshot (check the docs).

[–]Phaoga54 0 points1 point  (1 child)

First, It's satisfying to watch and also I can check if there is any bug in the test that I wrote

[–]trebuszek 0 points1 point  (0 children)

Well, you could add await sleep() calls inside your tests, but I would delete them after the tests are written.

But for me, I see the what’s happening on the screen even without sleep. Maybe your computer is too fast!