Protractor html reporter gave error "could not save meta data"
I'm using latest version if protractor html reporter, and I'm trying to use Meta Data Builder: new HtmlReporter({ baseDirectory: '/tmp/screenshots' , metaDataBuilder: function metaDataBuilder(spec, descriptions, results, capabilities) { // Return the description of the spec and if it has passed or not: return { description: descriptions.join(' ') , passed: results.passed() }; } });
When I run protractor tests, I got "Could not save meta data" error. Check in results folder, I see the Jason file and Screenshots are generated, but the reporter.html is empty. Does anyone has any insights? Thanks
Are you using https://www.npmjs.org/package/protractor-html-screenshot-reporter? Maybe file an issue with them?
How to file issue with them?
Their issue page. https://github.com/jintoppy/protractor-html-screenshot-reporter/issues