Skip to content

Images not being attached in HTML report for passing tests #363

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

Closed
ijaved opened this issue Apr 15, 2025 · 1 comment · Fixed by #364
Closed

Images not being attached in HTML report for passing tests #363

ijaved opened this issue Apr 15, 2025 · 1 comment · Fixed by #364

Comments

@ijaved
Copy link

ijaved commented Apr 15, 2025

👓 What did you see?

I am using @badeball/cypress-cucumber-preprocessor to run automated tests with a HTML report outputted. The HTML report is not attaching images for passing tests using the latest version @cucumber/html-formatter 21.10.0. Tests which fail do have their image attached. With @cucumber/html-formatter 21.9.0, the HTML report has images attached for both failing and passing tests.

✅ What did you expect to see?

The HTML report should attach images for both passing and failing tests.

📦 Which tool/library version are you using?

@badeball/cypress-cucumber-preprocessor - 22.0.1
@cucumber/html-formatter - 21.10.0
@cypress - 14.3.0

🔬 How could we reproduce it?

  1. Run Fail/Pass report as detailed in: https://github.com/ijaved/cypress-cucumber-preprocessor-reporting-example/blob/main/README.md

📚 Any additional context?

No response

@olleolleolle olleolleolle changed the title Images not being attached in HTML report Images not being attached in HTML report, for passing tests Apr 15, 2025
@ijaved ijaved changed the title Images not being attached in HTML report, for passing tests Images not being attached in HTML report for passing tests Apr 15, 2025
@davidjgoss
Copy link
Contributor

This was fixed in the formatter package as of https://github.com/cucumber/html-formatter/releases/tag/v21.10.1 - sorry about that!

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

Successfully merging a pull request may close this issue.

2 participants