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

Screenshots required in the report #48

Open
yfrindel opened this issue Nov 7, 2019 · 4 comments
Open

Screenshots required in the report #48

yfrindel opened this issue Nov 7, 2019 · 4 comments
Assignees
Projects

Comments

@yfrindel
Copy link

yfrindel commented Nov 7, 2019

This is the same request than for Ghpr.MSTestV2, but here for Ghpr.Console.

I have some screenshots attached to my tests, so I would like to have also these screenshots in the GHPR report please.

Regards,

Yannick

@yfrindel
Copy link
Author

Hi,

Any progress please ?

Regards

@elv1s42 elv1s42 self-assigned this Jan 10, 2020
@elv1s42 elv1s42 added this to ToDo (Prioritised) in Ghpr Common via automation Jan 10, 2020
@elv1s42
Copy link
Member

elv1s42 commented Jan 10, 2020

This will be resolved as soon as GHPReporter/Ghpr.MSTestV2#19 is done.

@elv1s42 elv1s42 moved this from ToDo (Prioritised) to InProgress (Dev/QA) in Ghpr Common Jan 10, 2020
@yfrindel
Copy link
Author

Ok many thanks.

Just to explain you.
I have, for each test, 2 files added :

  • A screenshot (for evidence or failure)
    1
    (pathFileName is the path of the screenshot file, a png file)

  • A file with the test description (for the tests not written with specflow)
    2
    (pathFileName is the path of the test description file, a txt file)

So my 2 files are visible in Azure devops in the tab “Attachments” :

  • 3
  • 4

In the TRX file results, you can see that the paths of the attachments are defined :
5

So my question is, in the GHPR report, Is it possible to add a new tab called “Attachments” with a simple link of the files please ? (or a view of the files like it’s done in azure devops if it’s possible)

I can contribute to this development if you want.

Regards,

Yannick

@elv1s42
Copy link
Member

elv1s42 commented Mar 18, 2020

I've added support for test images from .trx files as part of
GHPReporter/Ghpr.MSTestV2#19,
other attachments will be supported as part of the issue:
GHPReporter/Ghpr.Core#46

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Ghpr Common
  
InProgress (Dev/QA)
Development

No branches or pull requests

2 participants