Closed gustavomick closed 5 years ago
@gustavomick
Can you clarify it more with an example?
Yeah np thnx. When parsing spec files to retry them. If sourcemap is enabled trace reporys myspec.ts and then prot flake tries aparently to execute that file instead of .js file.
So if I understand you correctly, you are having *.spec.ts
files, those are transpiled to *.spec.js
files. The issues are logged to the console with *.spec.ts
and passed on to protractor-flake
to run them again. It can't find the files and it will run them all?
Can you also please provide:
protractor.conf.js
Tnx in advance
This may be helpful: https://www.npmjs.com/package/source-map-support
Your .ts specs should be transpiled to .js... You might want to try jasmine-spec-reporter's customProcessors - you can read in the spec name, modify it (to match the transpiled js), and then write it to console. Either way, I don't think this is an issue with protractor-flake.
I'm going to close this because I think Andrew is correct (and this issue is old).
if sourcemap is enabled failures report files with ts file but spec must execute js file.