title: Allure reports are not generated in Protractor
body: <p>I included the below code in my <code>conf.js</code> file but the Allure reports are not getting generated.</p>
  
  <pre><code>onPrepare : function() {
      var AllureReporter = require('jasmine-allure-reporter');
      jasmine.getEnv().addReporter(
          new AllureReporter({
              allureReport : {
                  resultsDir : 'allure-results'
              }
          })
      );
  
      jasmine.getEnv().afterEach(function(done) {
          browser.takeScreenshot().then(function(png) {
              allure.createAttachment('Screenshot', function() {
                  return new Buffer(png, 'base64')
              }, 'image/png')();
              done();
          })
      });
  }
  </code></pre>
  
  <p>Please let me know if I am missing anything.<br>
  Thanks,<br>
  Srinivas</p>