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: CHANGELOG.md
+8-1Lines changed: 8 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,17 @@
1
+
### Changed
2
+
-**Breaking change** Drop support of Node.js 10. The version [5.0.1](https://github.com/reportportal/agent-js-testcafe/releases/tag/v5.0.1) is the latest that supports it.
3
+
-`@reportportal/client-javascript` bumped to version `5.1.4`, new `launchUuidPrintOutput` types introduced: 'FILE', 'ENVIRONMENT'.
4
+
### Security
5
+
- Updated versions of vulnerable packages (braces).
6
+
### Deprecated
7
+
- Node.js 12 usage. This minor version is the latest that supports Node.js 12.
1
8
2
9
## [5.0.1] - 2024-01-19
3
10
### Changed
4
11
-`@reportportal/client-javascript` bumped to version `5.0.15`.
5
12
- Package size reduced
6
13
### Deprecated
7
-
- Node.js 10 usage. This version is the latest that supports Node.js 10.
14
+
- Node.js 10 usage. This minor version is the latest that supports Node.js 10.
| skippedIssue |*Default: true.* ReportPortal provides feature to mark skipped tests as not 'To Investigate' items on WS side.<br> Parameter could be equal boolean values:<br> *TRUE* - skipped tests considered as issues and will be marked as 'To Investigate' on Report Portal.<br> *FALSE* - skipped tests will not be marked as 'To Investigate' on application.|
53
-
| debug | This flag allows seeing the logs of the client-javascript. Useful for debugging.|
| rerunOf | Optional | Not set | UUID of launch you want to rerun. If not specified, reportportal will update the latest launch with the same name |
48
+
| mode | Optional | 'DEFAULT' | Results will be submitted to Launches page <br/> *'DEBUG'* - Results will be submitted to Debug page (values must be upper case). |
49
+
| debug | Optional | false | This flag allows seeing the logs of the client-javascript. Useful for debugging. |
50
+
| restClientConfig | Optional | Not set |`axios` like http client [config](https://github.com/axios/axios#request-config). May contain `agent` property for configure [http(s)](https://nodejs.org/api/https.html#https_https_request_url_options_callback) client, and other client options e.g. `proxy`, [`timeout`](https://github.com/reportportal/client-javascript#timeout-30000ms-on-axios-requests). For debugging and displaying logs the `debug: true` option can be used. <br/> Visit [client-javascript](https://github.com/reportportal/client-javascript) for more details. |
51
+
| headers | Optional | {} | The object with custom headers for internal http client. |
52
+
| launchUuidPrint | Optional | false | Whether to print the current launch UUID. |
53
+
| launchUuidPrintOutput | Optional | 'STDOUT' | Launch UUID printing output. Possible values: 'STDOUT', 'STDERR', 'FILE', 'ENVIRONMENT'. Works only if `launchUuidPrint` set to `true`. File format: `rp-launch-uuid-${launch_uuid}.tmp`. Env variable: `RP_LAUNCH_UUID`, note that the env variable is only available in the reporter process (it cannot be obtained from tests). |
54
+
| skippedIssue | Optional | true | reportportal provides feature to mark skipped tests as not 'To Investigate'. <br/> Option could be equal boolean values: <br/> *true* - skipped tests considered as issues and will be marked as 'To Investigate' on reportportal. <br/> *false* - skipped tests will not be marked as 'To Investigate' on application. |
55
+
| token | Deprecated | Not set | Use `apiKey` instead. |
55
56
56
57
**2.1** Create `.testcaferc.json` TestCafe [configuration file](https://testcafe.io/documentation/402638/reference/configuration-file) and add `agent-js-testcafe` to the `reporter` property
57
58
```json
@@ -97,7 +98,6 @@ Run tests via `node testcafe.js`.
97
98
98
99
> **Note:** TestCafe options from `.testcaferc.json` can be overwritten programmatically in `testcafe.js`
99
100
100
-
101
101
## Reporting
102
102
103
103
This reporter provides Reporting API to use it directly in tests to send some additional data to the report.
0 commit comments