Comments (3)
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.
[`test`, {
outputDir : `./logs`,
outputFileFormat : (opts) => `${opts.spec[0].replace(`/.js|.ts/`, ``)}-test-reporter.log`,
}]
from webdriverio.
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.
from webdriverio.
Thanks for reporting!
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!
from webdriverio.
Related Issues (20)
- [🐛 Bug]: Unable to select a radio group input value HOT 1
- [🐛 Bug]: expect() breaks Cucumber step hierarchy in Allure reports HOT 5
- [🐛 Bug]: Tests using describe.skip are marked as failed in Browserstack HOT 4
- [🐛 Bug]: Unable to take screenshot from the afterTest hook on a mocha timeout HOT 1
- [🐛 Bug]: automatic download of chromedriver breaking when used together with appium HOT 2
- [🐛 Bug]: <webdriverio + edgedriver: The uploadFile command is not available in msedge> HOT 10
- [🐛 Bug]: Element cannot access underlying HTML element HOT 1
- [💡 Feature]: register all commands and provide proper error message when using protocol is not supported HOT 1
- [🐛 Bug]: Missing resigningEnabled sauce:option in @wdio/types HOT 4
- Can't import ConfigParser after upgrade to V8 HOT 4
- [🐛 Bug]: <Error Package subpath './build/commands/element' is not defined by "exports" in WebdriverIO> HOT 3
- [🐛 Bug]: <After running the wdio v 7.20 in selenium grid v 0.20.1 (as a services) we are getting ERROR webdriver: Request failed with status 401 due to Error: Response has empty body, ERROR webdriver: Error: Response has empty body, ERROR @wdio/runner: Error: Failed to create session. [0-7] Make sure to connect to valid hostname:port or the port is not in use. If you use a grid server [0-7] Make sure to add vendor prefix like "goog:", "appium:", "moz:", etc to non W3C capabilities. [0-7] See more https://www.w3.org/TR/webdriver/#capabilities> HOT 3
- [🐛 Bug]: CustomService is run twice HOT 2
- [🐛 Bug]: Disabling autoCompileConfig.autoCompile does not work (ts-node v8) HOT 2
- [🐛 Bug]: Long running @wdio/cli process when executing cucumber tests filtered by cucumberOpts.tags arguments HOT 3
- [WARN @wdio/config:ConfigParser: pattern ./test/specs/**/*.js did not match any file] "npx wdio" throws warning even if the (.js) file is located in the directory HOT 2
- [💡 Feature]: Add typescript support custom commands in overwriteCommand HOT 1
- [🐛 Bug]: creating a package from wdio config will result in compilation errors HOT 5
- [📖 Docs]: Deprecated Matchers are not marked as deprecated in the Expect documentation page HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from webdriverio.