webdriverio-community / wdio-testrail-reporter

MIT License
6 stars 9 forks source link

Add RunId to ReporterOptions #330

Closed bongosway closed 4 months ago

bongosway commented 5 months ago

I have a specific use case, where the same RunId has to be preserved for a while. However, I noticed the RunId is always empty in the TestReporter constructor, with a private method to retrieve the RunId every time or create a new run.

https://github.com/webdriverio-community/wdio-testrail-reporter/blob/3870b0dfa2c33a0cb7eec59511185bca56e5166a/src/reporter.ts#L23

I can create a patch for this scenario, would this direction work from a project roadmap perspective?

Thanks.