Skip to content

Commit e244543

Browse files
committed
chore: update version to 0.0.21 and add snippet property to README
1 parent 386dce3 commit e244543

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,7 @@ The test object in the report includes the following [CTRF properties](https://c
158158
| `suite` | String | Optional | The suite or group to which the test belongs. |
159159
| `message` | String | Optional | The failure message if the test failed. |
160160
| `trace` | String | Optional | The stack trace captured if the test failed. |
161+
| `snippet` | String | Optional | The code snippet that was executed during the test if the test failed. |
161162
| `rawStatus` | String | Optional | The original playwright status of the test before mapping to CTRF status. |
162163
| `tags` | Array of Strings | Optional | The tags retrieved from the test name |
163164
| `type` | String | Optional | The type of test (e.g., `api`, `e2e`). |
@@ -169,7 +170,6 @@ The test object in the report includes the following [CTRF properties](https://c
169170
| `stdout` | Array of Strings | Optional | The standard output of the test. |
170171
| `stderr` | Array of Strings | Optional | The standard error of the test. |
171172
| `screenshot` | String | Optional | A base64 encoded screenshot taken during the test. |
172-
| `screenshot` | String | Optional | A base64 encoded screenshot taken during the test. |
173173
| `steps` | Array of Objects | Optional | Individual steps in the test, especially for BDD-style testing. |
174174

175175
## Advanced usage

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "playwright-ctrf-json-reporter",
3-
"version": "0.0.20",
3+
"version": "0.0.21",
44
"description": "A Playwright JSON test reporter to create test results reports",
55
"main": "dist/index.js",
66
"scripts": {

0 commit comments

Comments
 (0)