Open nwparker opened 1 month ago
+1
I want to be able to run this command and see the progress my tests on a CI
What do you mean on a CI? There is no UI Mode on a CI, please use one of our reporters (HTML).
I want to be able to run this command and see the progress my tests on a CI
What do you mean on a CI? There is no UI Mode on a CI, please use one of our reporters (HTML).
Thank you for the reply, @pavelfeldman
I should rephrase. By CI, in my case, I mean a headless docker machine that I have control over (including networking).
On such a headless Docker environment, you can run --ui-host
or --ui-port
(reference)
The idea here is that with using the above option in a headless Docker environment, you will be able to see a live visual view into the running on the tests if you were to connect to this host/port from the the outside. Whereas with the HTML report as mentioned, you would only be able to see the results afterwards.
Please let me know if you have further questions and I'd be more than happy to elaborate
🚀 Feature Request
To be able to run tests automatically (instead of an explicit start) using UI mode
Detailed requirements:
--ui
flag or--ui-host
/--ui-port
flagsnpx playwright test
)Example
npx playwright test --ui --auto-run
CLI Documentation:
--auto-run
: 'When running in UI mode, starts running tests when first started"Motivation
I want to be able to run this command and see the progress my tests on a CI
Today, the ui mode will load, but it requires going into the interface and clicking the ▶️ icon This would remove that extra step and runs the tests