You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.The text was updated successfully, but these errors were encountered: