Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dynamically specify where results should be stored #28

Open
ducle91 opened this issue Oct 21, 2019 · 1 comment
Open

dynamically specify where results should be stored #28

ducle91 opened this issue Oct 21, 2019 · 1 comment
Labels
enhancement New feature or request

Comments

@ducle91
Copy link

ducle91 commented Oct 21, 2019

Right now the outputDir option required a hard-coded path. When I'm running all my tests under a test suite I want to store those results under that test suite directory name. So if I run a different test suite, then the results should be stored into that directory.

For Example
TestSuiteA: test1, test2, test3
TestSuiteB: test1, test2, test3
TestSuiteC: test1, test2, test3

I want to be able to store those results like this:
reports/TestSuiteA/timeline-report.html
reports/TestSuiteB/timeline-report.html
reports/TestSuiteC/timeline-report.html

I tried playing around inside the wdio.conf.js to see if I could add a custom script that would allow me to grab which test suite I'm running, create a folder based on the test suite name and then store my result inside that directory. I was able to create the directory with my custom script, however I wasn't able to put it inside the reporter part of the wdio.conf.js.

@benzaremean benzaremean added the enhancement New feature or request label Nov 11, 2019
@ybidar
Copy link

ybidar commented May 13, 2022

Any updates on this enhancement ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants