protractor-beautiful-reporter icon indicating copy to clipboard operation
protractor-beautiful-reporter copied to clipboard

[Feature Request] Get screenshot of first expect failure in report

Open praveendvd opened this issue 5 years ago • 1 comments

Hi i have the following spec

'use strict';

describe('Validate stage3 and preview screen behaviour', function () {

   
    it('Validate space,project and scope details in preview screen {Regression} {Smoke} {test}', async function () {
      await browser.get('https://www.protractortest.org/#/tutorial');
      expect(2).toBe(3)
      await browser.get('http://www.google.com');
      expect(3).toBe(3)
    });
  
  });


image

On test failure the report has the screenshot of 'https://www.google.com' but i would like to have the screenshot of https://www.protractortest.org/#/tutorial instead

praveendvd avatar Dec 20 '19 16:12 praveendvd

There is a pending pullrequest for it #154 but I am afraid It will break things...and currently I have no time to test it...

miller45 avatar Feb 14 '20 09:02 miller45