gemini-testing / testplane

Testplane (ex-hermione) browser test runner based on mocha and wdio
https://testplane.io
MIT License
678 stars 62 forks source link

Implement throttling of test commands #952

Open shadowusr opened 4 weeks ago

shadowusr commented 4 weeks ago

Contribution

Describe the user story

When running tests locally, for instance, via devtools protocol they often run so fast you can't realise what's actually happening in the test.

Describe the solution you'd like

To add something like --throttle parameter which takes amount of ms to wait before running each command in the test. This'd allow to watch the test run in "slow motion".

Describe the drawbacks of your solution

One may accidentally commit this throttling to main branch/CI

Describe alternatives you've considered

Recording videos, recording snapshots of test all solve similar issue, but the difference is that you can view them only the test has already ended. This feature allows to watch it live.