Skip to content

Commit ea18176

Browse files
committed
Document videos in reports
1 parent d5af065 commit ea18176

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

docs/configuration.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ Every configuration option has a similar key which can be use to override it, sh
8989
| `omitFiltered` | `omitFiltered` | `true`, `false` |
9090
| `dryRun` | `dryRun` | `true`, `false` |
9191
| `attachments.addScreenshots` | `attachmentsAddScreenshots` | `true`, `false` |
92+
| `attachments.addVideos` | `attachmentsAddVideos` | `true`, `false` |
9293

9394
## Test configuration
9495

docs/html-report.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ The report is outputted to `cucumber-report.html` in the project directory, but
1818

1919
Screenshots are automatically added to HTML reports, including that of failed tests (unless you have disabled `screenshotOnRunFailure`). This can be turned off using the `attachments.addScreenshots` property, which defaults to `true`.
2020

21+
## Videos
22+
23+
Videos are not automatically added to reports, but can be turned on using the `attachments.addVideos` property. This assumes you've configured Cypress to [capture videos](https://docs.cypress.io/app/guides/screenshots-and-videos#Videos). Videos are base-64 encoded and included in the files, which may affect size and performance.
24+
2125
## Attachments
2226

2327
Attachments can also be added to HTML reports through an API. This API is further explained in [JSON report](json-report.md), but applies to HTML reports as well.

docs/messages-report.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ The report is outputted to `cucumber-messages.ndjson` in the project directory,
2020

2121
Screenshots are automatically added to messages reports, including that of failed tests (unless you have disabled `screenshotOnRunFailure`). This can be turned off using the `attachments.addScreenshots` property, which defaults to `true`.
2222

23+
## Videos
24+
25+
Videos are not automatically added to reports, but can be turned on using the `attachments.addVideos` property. This assumes you've configured Cypress to [capture videos](https://docs.cypress.io/app/guides/screenshots-and-videos#Videos). Videos are base-64 encoded and included in the files, which may affect size and performance.
26+
2327
## Attachments
2428

2529
Attachments can also be added to messages reports through an API. This API is further explained in [JSON report](json-report.md), but applies to messages reports as well.

0 commit comments

Comments
 (0)