protractor-beautiful-reporter
protractor-beautiful-reporter copied to clipboard
[Feature Request] Get screenshot of first expect failure in report
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)
});
});
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
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...