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

Include spec's filename in its corresponding result page #32

Closed
quad5 opened this issue Jun 8, 2021 · 4 comments · Fixed by #34 or yasserfaraazkhan/Cypress-API-Testing-Mocking-API-Visual-Testing#7
Labels
enhancement New feature or request

Comments

@quad5
Copy link

quad5 commented Jun 8, 2021

Is your feature request related to a problem? Please describe.

Describe the solution you'd like

I am using v1.3.0. Sorry if it is already implemented in newer version. What I am asking is if spec name can be included in its corresponding result page. At the moment, I see describe's string value as title.

Describe alternatives you've considered

Additional context

@quad5 quad5 added the enhancement New feature or request label Jun 8, 2021
@LironEr
Copy link
Owner

LironEr commented Jun 10, 2021

This reporter uses mochawesome under the hood, so if they will have that feature this reporter will also have it
You can try to open feature request in mochawesome or mochawesome-report-generator

@quad5
Copy link
Author

quad5 commented Jun 10, 2021

Please let me know if this is something I should file against mochawesome. Thanks.

First two pictures are from my test output:

  • Notice the 2nd image has spec path. I do not have it within describe in that spec file.
  • Notice the 1st image does not have spec path. I do have it within describe in that spec file.

The 3rd image is from mochawesome github readme. Notice it has both describe title and spec path.

Untitled22

image

EXTRACTED FROM mochawesome
Untitled23

@LironEr
Copy link
Owner

LironEr commented Jun 11, 2021

After digging in mochawesome and mochawesome-report-generator code it looks like when running mochawesome with cypress the filename exists in another place than what mochawesome-report-generator expects.

I will release a version later today that mitigates this problem.

@LironEr LironEr linked a pull request Jun 11, 2021 that will close this issue
@LironEr
Copy link
Owner

LironEr commented Jun 11, 2021

Released in v2.1.1

Thanks @quad5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
2 participants