You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11
Original file line number
Diff line number
Diff line change
@@ -37,6 +37,17 @@ This is fine for simple use cases where results are not important.
37
37
To render a `<GherkinDocument>` with results and highlighted [Cucumber Expression parameters](https://cucumber.io/docs/cucumber/cucumber-expressions/) parameters it must be nested inside a
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:
43
+
44
+
-`image/*` - images are rendered with an `<img/>` tag
45
+
-`video/*` - videos are rendered with a `<video/` tag
46
+
-`text/x.cucumber.log+plain` - logs (from calls to the `log` function in Cucumber) are rendered as monospace text, and support ANSI colors
47
+
-`text/uri-list` - one or more URLs are rendered as links that open in a new tab
48
+
-`application/json` - JSON is rendered as monospace text and prettified
49
+
-`text/*` - other text types are rendered as monospace text
50
+
40
51
## Styling
41
52
42
53
The standard styling comes from wrapping your top-level usage with the `CucumberReact` component (sans-props). There are several ways you can apply different styling to the components.
0 commit comments