-
Notifications
You must be signed in to change notification settings - Fork 32
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
Report creation with '|' in name fails #3
Comments
Sure. I'll take a look at this later today. |
Hi, Any news regarding this issue? Thx. |
Sorry... Had some things come up between work and home. Will look at this today. |
By any chance have you tried using the wdio-junit-reporter? I'm curious to see if the problem exists there too. CID is generated from within WDIO so I'm thinking it might make more sense to address this issue at the root instead of a one off fix here. |
Just checked with Junit reporter and it's the same thing. |
@fijijavis - I opened the issue on webdriverio project and got response from @christian-bromann:
does this help you to fix the issue? |
Yes, I guess that does. If the direction is to not use cid in the name of the file then I'll work on an adjustment. |
thanks man. let me know when you have it done I can try it out really fast. |
Published v0.0.4 with the above referenced change. I tried it with a 2 spec files and it looks good. Let me know what you think |
Hi, Just did a run and no fails in reports creation .Works like a charm :-D Thanks man. |
Hi,
I noticed when using wdio-json-reporter if you have large number of files that it fails after 28 files:
.
.
.
Wrote json report to [reports].
Wrote json report to [reports].
Failed to write json report to [reports]. Error: Error: ENOENT: no such file or directory, open '%PATH%\WDIO.json.chrome.0|.json'
So reports CID it starts with '0a' and after going trough the alphabet it starts with special characters because it created: WDIO.json.chrome.0}.json and then tried WDIO.json.chrome.0|.json where it failed.
So is it possible to reformat the name or to use numbers instead of characters?
Thx.
The text was updated successfully, but these errors were encountered: