protractor icon indicating copy to clipboard operation
protractor copied to clipboard

Protractor html reporter gave error "could not save meta data"

Open chun2014 opened this issue 12 years ago • 3 comments

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

chun2014 avatar Aug 04 '14 21:08 chun2014

Are you using https://www.npmjs.org/package/protractor-html-screenshot-reporter? Maybe file an issue with them?

juliemr avatar Aug 04 '14 22:08 juliemr

How to file issue with them?

chun2014 avatar Aug 04 '14 22:08 chun2014

Their issue page. https://github.com/jintoppy/protractor-html-screenshot-reporter/issues

juliemr avatar Aug 04 '14 22:08 juliemr