Open emaxsaun opened 6 years ago
@emaxsaun i use the mocha.opts
grep , with the retry package, and its working without any issues
if you can provide the running command with the config in use so i can debug this for you
@amrot17 I was using it with protractor with Jasmine, not mocha, but that was for a project at my previous employer, at my new job we use WDIO now.
One thing that I do in my project is I tag different describe blocks with tags like @stage, for example
So when I call protractor I pass in this argument --grep='@stage'
Whenever I have
shardTestFiles: true,
in my config and I use the grep option, it will run a blank browser for every single spec that doesn't match the grep. If I don't have it set, it only will run the tagged specs, which is what I want, but then I loose rerun functionality. Please advise :)