grunt-protractor-coverage
grunt-protractor-coverage copied to clipboard
Wrong coverage data
I have specs that should cover the source files but they are shown as not covered.
Can using the same page on different tests overwrite the coverage reports?
I found the reason(s).
- When there is a browser.refresh() or normal form submit that refreshes the browser, the coverage data is lost.
Hence we should be able to runCoverageGlobal() when necessary. I am updating the saveCoverage.tmpl and will be creating a push request.
- Currently saveCoverage.tmpl path is hardcoded. We should be able to give save coverage path from the gruntfile.