cucumber / react-components

React components for Cucumber
MIT License
32 stars 10 forks source link

Show text/x.cucumber.log+plain content inline without expansion #335

Closed pabitra-qa closed 1 month ago

pabitra-qa commented 1 year ago

In Cucumber Published report, the interface is really clean but the offline report says 'Attached Text (text/x.cucumber.log+plain)' for each scenario.log(). Any easy way to make the offline report look like the published report?

Published

image

Offline

image
pabitra-qa commented 1 year ago

Hi @mpkorstanje, Could you please help with this issue?

mpkorstanje commented 1 year ago

@pabitra-qa the report is constructed out of cucumber/react-components. Improvements are best made there.

davidjgoss commented 1 year ago

We can do something with this, yeah. The original point of the collapsed-by-default state of attachments was to prevent images (e.g. screenshots) just dominating the page. But we could be smarter about textual attachments especially if they're only a line or two.

pabitra-qa commented 1 year ago

@davidjgoss yeah, it would be really nice if we can match the published report look in offline report. The published one is really neat and clean. Thank you!

pabitra-qa commented 11 months ago

Hi @davidjgoss, Any updates on this?

davidjgoss commented 1 month ago

This was addressed in https://github.com/cucumber/react-components/pull/353 and released in https://github.com/cucumber/react-components/releases/tag/v22.2.0