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.
82
88
83
89
## Disable the colors of test output:
90
+
84
91
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.
85
92
86
93
## Used to report retry of test:
94
+
87
95
The agent supports of Retries.
88
96
Read more about [retries in jest](https://jestjs.io/docs/ru/jest-object#jestretrytimes).
89
97
90
98
## Rerun:
99
+
91
100
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:
92
-
- rerun - to enable rerun
93
-
- rerunOf - UUID of launch you want to rerun. If not specified, report portal will update the latest launch with the same name
101
+
102
+
- rerun - to enable rerun
103
+
- rerunOf - UUID of launch you want to rerun. If not specified, report portal will update the latest launch with the same name
94
104
95
105
Example:
96
106
@@ -100,7 +110,8 @@ Example:
100
110
```
101
111
102
112
## Skipped issue:
103
-
*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.
113
+
114
+
_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.
104
115
105
116
Example:
106
117
@@ -109,7 +120,8 @@ Example:
109
120
```
110
121
111
122
## Launch mode:
112
-
Launch mode. Allowable values *DEFAULT* (by default) or *DEBUG*.
123
+
124
+
Launch mode. Allowable values _DEFAULT_ (by default) or _DEBUG_.
113
125
114
126
Example:
115
127
@@ -118,6 +130,7 @@ Example:
118
130
```
119
131
120
132
## Debug flag:
133
+
121
134
This flag allows seeing the logs of the client-javascript. Useful for debugging an agent.
122
135
123
136
Example:
@@ -126,11 +139,18 @@ Example:
126
139
"debug":true
127
140
```
128
141
142
+
## REST Client config:
143
+
144
+
Optional property.<br/>
145
+
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/>
146
+
Visit [client-javascript](https://github.com/reportportal/client-javascript) for more details.
147
+
129
148
# Copyright Notice
130
149
131
150
Licensed under the [Apache License v2.0](LICENSE)
132
151
133
152
# Contribution
153
+
134
154
This code was based on the [jest-junit](https://github.com/jest-community/jest-junit)
135
155
and adapted by team members of [Ontoforce](https://www.ontoforce.com) for the
136
156
ReportPortal upload. Ontoforce contributed this effort as Open Source to the
0 commit comments