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
| rerunOf | UUID of launch you want to rerun. If not specified, report portal will update the latest launch with the same name|
70
-
| reportHooks |*Default: false.* Determines report before and after hooks or not. |
71
-
| 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.|
62
+
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 |
74
+
| mode | Optional | 'DEFAULT' | Results will be submitted to Launches page <br/> *'DEBUG'* - Results will be submitted to Debug page (values must be upper case). |
75
+
| 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. |
76
+
| debug | Optional | false | This flag allows seeing the logs of the client-javascript. Useful for debugging. |
77
+
| reportHooks | Optional | false | Determines report before and after hooks or not. |
78
+
| 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. |
79
+
| token | Deprecated | Not set | Use `apiKey` instead. |
72
80
73
81
### Additional reporting functionality
74
82
75
83
The agent provides an API to extend the functionality of Mocha.
76
84
77
-
Import the PublicReportingAPI as shown below to use additional reporting features.
85
+
Import the `PublicReportingAPI` as shown below to use additional reporting features.
PublicReportingAPI provides the following methods for reporting logs into the current test/step.
91
+
`PublicReportingAPI` provides the following methods for reporting logs into the current test/step.
84
92
85
93
* log(*level*, *message* , *file*). Reports *message* and optional *file* with specified log *level* as a log of the current test. If called outside of the test, reports message as a log of the current suite.<br/>
86
94
*level* shoud be equal to one the following values: *TRACE*, *DEBUG*, *INFO*, *WARN*, *ERROR*, *FATAL*.<br/>
0 commit comments