diff --git a/CHANGELOG.md b/CHANGELOG.md index 97d390c2..66e9afbe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). ## [Unreleased] +### Added +- Support text/uri-list attachments ([#355](https://github.com/cucumber/react-components/pull/355)) ## [22.2.0] - 2024-06-21 ### Added diff --git a/README.md b/README.md index 4760115b..4137e551 100644 --- a/README.md +++ b/README.md @@ -37,6 +37,17 @@ This is fine for simple use cases where results are not important. To render a `` with results and highlighted [Cucumber Expression parameters](https://cucumber.io/docs/cucumber/cucumber-expressions/) parameters it must be nested inside a [``](src/components/app/Wrapper.tsx) component. +## Attachments + +Attachments from test runs are shown with their corresponding steps. The baseline behaviour for attachments is a download button. However, we have some special handling for very common MIME types to make them more useful without leaving the report: + +- `image/*` - images are rendered with an `` tag +- `video/*` - videos are rendered with a `