-
Notifications
You must be signed in to change notification settings - Fork 5.4k
[Feature]: Queue test(s) #40070
Copy link
Copy link
Open
Labels
Description
🚀 Feature Request
In the playwright UI, I want to queue tests to run. The core problem is that triggering tests is disabled when compiling/running tests.
Use cases:
- Web server is still compiling: I want to already trigger the tests, so that I don’t need to keep the UI open waiting for compilation. Currently, when the UI is opened for the first time, the tests are not even shown until the web server is ready.
- Queuing multiple tests: if I want to execute two tests, it should be possible to trigger the second one before the first is complete. Currently, this is possible, but only when the tests are in a common group, by triggering the group instead.
Edge case:
If a test is running/queued and its group is triggered, the test that is already running/queued is not re-queued.
Example
The play button in the UI would not be disabled when running. Optionally, it would show a badge/different icon to indicate that they will be queued. Clicking on it would show the same clock symbol shown in subsequent tests when triggering a batch of tests, and then these tests would execute as soon as they are ready.
Motivation
This would allow for the UI to be used more efficiently, triggering multiple tests rather than needing to wait for the previous tests.
Reactions are currently unavailable