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
When you have a lot of files in a test run it can be hard to find what log file applies to what test. You can grep the files to get what you're looking for but having the test file name be in the log file name could help.
Describe the solution you'd like.
Log files are outputted like the following format:
There is no distinction on what tests those logs are for without looking inside the files. If the test file name is test-something.ts then the logs could look something like:
This could likely be achieved if the outputFileFormat can be used for the global wdio logs. Currently it looks like that will only work for reporters logging.
Let's introduce this as a WebdriverIO config and have a central log file management. The function passed into the outputFileFormat should receive information about the config and a scope, e.g. the reporter or service it likes to create a config file for so that someone can craft arbitrary names for the log file. This means that if someone would provide a outputFileFormat like so: () => 'allInOne.log' all logs would be written in a central file.
We greatly appreciate any contributions that help resolve the bug. While we understand that active contributors have their own priorities, we kindly request your assistance if you rely on this bug being fixed. We encourage you to take a look at our contribution guidelines or join our friendly Discord development server, where you can ask any questions you may have. Thank you for your support, and cheers!
Is your feature request related to a problem?
When you have a lot of files in a test run it can be hard to find what log file applies to what test. You can grep the files to get what you're looking for but having the test file name be in the log file name could help.
Describe the solution you'd like.
Log files are outputted like the following format:
There is no distinction on what tests those logs are for without looking inside the files. If the test file name is
test-something.ts
then the logs could look something like:This could also be a flag you set to have the log files outputted this way.
Describe alternatives you've considered.
No response
Additional context
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: