Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
praveendvd opened this issue Dec 20, 2019 · 1 comment
Open

Comments

@praveendvd
Copy link

praveendvd commented Dec 20, 2019

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

@miller45
Copy link
Collaborator

miller45 commented Feb 14, 2020

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...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants