grunt-mocha-webdriver icon indicating copy to clipboard operation
grunt-mocha-webdriver copied to clipboard

[feature] See a progress bar

Open binarykitchen opened this issue 11 years ago • 2 comments

For long running E2E tests with Saucelabs this would be very nice.

Currently, when you run a test that takes more than 8 minutes, all you see is just:

Running "mochaWebdriver:sauce" (mochaWebdriver) task
=> Connecting to Sauce Labs ...
>> Connected to Sauce Labs.

and nothing else. And after 8 minutes, lots of log lines appear and you begin to analyse. Not user-friendly. Hence I think a progress bar would be a nice-to-have-feature.

binarykitchen avatar May 13 '14 03:05 binarykitchen

Right now, because of the concurrency option and the custom sauce reporter that is used when running tests on saucelabs or selenium, it is not really "possible". Maybe #57 will help with that aspect: in my refactoring, I was thinking of adding a new option that will allow you to choose to display mocha updates right away (usefull if concurrency = 1) or buffer them and display them at the end.

saadtazi avatar May 13 '14 13:05 saadtazi

Yes, that would be great!

binarykitchen avatar May 14 '14 00:05 binarykitchen