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
This for your convenience in case you has a continuous job that run your tests and may post the results pointing to a different Report Portal definition of project, launcher name or tags.
94
-
95
-
## Disable the colors of test output:
96
-
97
-
In the Report Portal, the output of the test results may contain ANSI character set, this may be caused by the color setting in Jest. For version `"jest":"^24.8.0"`, use `jest --no-colors` command to disable the colors of test output.
98
-
99
-
## Used to report retry of test:
100
-
101
-
The agent supports of Retries.
102
-
Read more about [retries in jest](https://jestjs.io/docs/ru/jest-object#jestretrytimes).
103
-
104
-
## Rerun:
105
-
106
-
To report [rerun](https://github.com/reportportal/documentation/blob/master/src/md/src/DevGuides/rerun.md) to the report portal you need to specify the following options:
107
-
108
-
- rerun - to enable rerun
109
-
- rerunOf - UUID of launch you want to rerun. If not specified, report portal will update the latest launch with the same name
110
-
111
-
Example:
112
-
113
-
```json
114
-
"rerun":true,
115
-
"rerunOf":"f68f39f9-279c-4e8d-ac38-1216dffcc59c"
116
-
```
117
-
118
-
## Skipped issue:
119
-
120
-
_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.
121
-
122
-
Example:
123
-
124
-
```json
125
-
"skippedIssue":false
126
-
```
127
-
128
-
## Launch mode:
129
-
130
-
Launch mode. Allowable values _DEFAULT_ (by default) or _DEBUG_.
131
-
132
-
Example:
133
-
134
-
```json
135
-
"mode":"DEBUG"
136
-
```
137
-
138
-
## Debug flag:
139
-
140
-
This flag allows seeing the logs of the client-javascript. Useful for debugging an agent.
141
-
142
-
Example:
143
-
77
+
The full list of available options presented below.
| rerunOf | Optional | Not set | UUID of launch you want to rerun. If not specified, reportportal will update the latest launch with the same name |
89
+
| mode | Optional | 'DEFAULT' | Results will be submitted to Launches page <br/> *'DEBUG'* - Results will be submitted to Debug page. |
90
+
| 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. |
91
+
| debug | Optional | false | This flag allows seeing the logs of the client-javascript. Useful for debugging. |
92
+
| launchId | Optional | Not set | The _ID_ of an already existing launch. The launch must be in 'IN_PROGRESS' status while the tests are running. Please note that if this _ID_ is provided, the launch will not be finished at the end of the run and must be finished separately. |
93
+
| logLaunchLink | Optional | false | This flag allows print the URL of the Launch of the tests in console. |
94
+
| restClientConfig | Optional | Not set | The object with `agent` property for configure [http(s)](https://nodejs.org/api/https.html#https_https_request_url_options_callback) client, may contain other client options eg. [`timeout`](https://github.com/reportportal/client-javascript#timeout-30000ms-on-axios-requests). <br/> Visit [client-javascript](https://github.com/reportportal/client-javascript) for more details. |
95
+
| token | Deprecated | Not set | Use `apiKey` instead. |
96
+
97
+
The following options can be overridden using ENVIRONMENT variables:
| token | RP_TOKEN |*deprecated* Use `RP_API_KEY` instead. |
110
+
111
+
This is for your convenience if you have a continuous job that runs your tests and may report results that point to a different reportportal project definition, launch name, or attributes.
This flag allows print the URL of the Launch of the tests in console.
151
-
152
-
Example:
153
-
154
-
```json
155
-
"logLaunchLink":true
156
-
```
122
+
## Features
157
123
158
-
## REST Client config:
124
+
### Retries
159
125
160
-
Optional property.<br/>
161
-
The object with `agent` property for configure [http(s)](https://nodejs.org/api/https.html#https_https_request_url_options_callback) client, may contain other client options eg. `timeout`.<br/>
162
-
Visit [client-javascript](https://github.com/reportportal/client-javascript) for more details.
126
+
The agent has support of retries.
127
+
Read more about [retries in jest](https://jestjs.io/ru/docs/jest-object#jestretrytimesnumretries-options).
0 commit comments