@reportportal/agent-js-jest
Advanced tools
Comparing version 5.0.6 to 5.0.7
@@ -114,8 +114,2 @@ /* | ||
if (this.reportOptions.logLaunchLink === true) { | ||
promise.then((response) => { | ||
console.log(`\nReportPortal Launch Link: ${response.link}`); | ||
}); | ||
} | ||
promiseErrorHandler(promise); | ||
@@ -122,0 +116,0 @@ await promise; |
{ | ||
"name": "@reportportal/agent-js-jest", | ||
"version": "5.0.6", | ||
"version": "5.0.7", | ||
"description": "A Jest reporter that uploads test results to ReportPortal", | ||
@@ -27,3 +27,3 @@ "main": "index.js", | ||
"dependencies": { | ||
"@reportportal/client-javascript": "^5.0.12", | ||
"@reportportal/client-javascript": "^5.0.15", | ||
"strip-ansi": "^6.0.1" | ||
@@ -30,0 +30,0 @@ }, |
@@ -79,19 +79,21 @@ # @reportportal/agent-js-jest | ||
| Option | Necessity | Default | Description | | ||
|------------------|------------|-----------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ||
| apiKey | Required | | User's reportportal token from which you want to send requests. It can be found on the profile page of this user. | | ||
| endpoint | Required | | URL of your server. For example 'https://server:8080/api/v1'. | | ||
| launch | Required | | Name of launch at creation. | | ||
| project | Required | | The name of the project in which the launches will be created. | | ||
| attributes | Optional | [] | Launch attributes. | | ||
| description | Optional | '' | Launch description. | | ||
| rerun | Optional | false | Enable [rerun](https://github.com/reportportal/documentation/blob/master/src/md/src/DevGuides/rerun.md) | | ||
| rerunOf | Optional | Not set | UUID of launch you want to rerun. If not specified, reportportal will update the latest launch with the same name | | ||
| mode | Optional | 'DEFAULT' | Results will be submitted to Launches page <br/> *'DEBUG'* - Results will be submitted to Debug page. | | ||
| 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. | | ||
| debug | Optional | false | This flag allows seeing the logs of the client-javascript. Useful for debugging. | | ||
| 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. | | ||
| logLaunchLink | Optional | false | This flag allows print the URL of the Launch of the tests in console. | | ||
| 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. | | ||
| token | Deprecated | Not set | Use `apiKey` instead. | | ||
| Option | Necessity | Default | Description | | ||
|-----------------------|------------|-----------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ||
| apiKey | Required | | User's reportportal token from which you want to send requests. It can be found on the profile page of this user. | | ||
| endpoint | Required | | URL of your server. For example 'https://server:8080/api/v1'. | | ||
| launch | Required | | Name of launch at creation. | | ||
| project | Required | | The name of the project in which the launches will be created. | | ||
| attributes | Optional | [] | Launch attributes. | | ||
| description | Optional | '' | Launch description. | | ||
| rerun | Optional | false | Enable [rerun](https://reportportal.io/docs/dev-guides/RerunDevelopersGuide) | | ||
| rerunOf | Optional | Not set | UUID of launch you want to rerun. If not specified, reportportal will update the latest launch with the same name | | ||
| mode | Optional | 'DEFAULT' | Results will be submitted to Launches page <br/> *'DEBUG'* - Results will be submitted to Debug page. | | ||
| 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. | | ||
| debug | Optional | false | This flag allows seeing the logs of the client-javascript. Useful for debugging. | | ||
| 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. | | ||
| 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. | | ||
| isLaunchMergeRequired | Optional | false | This flag determines whether to create temp files with the UUIDs of started launches and allow them to be merged using [`client-javascript`'s `mergeLaunches` method](https://github.com/reportportal/client-javascript#mergelaunches). Temp file format: `rplaunch-${launch_uuid}.tmp`. | | ||
| launchUuidPrint | Optional | false | Whether to print the current launch UUID. | | ||
| launchUuidPrintOutput | Optional | 'STDOUT' | Launch UUID printing output. Possible values: 'STDOUT', 'STDERR'. Works only if `launchUuidPrint` set to `true`. | | ||
| token | Deprecated | Not set | Use `apiKey` instead. | | ||
@@ -98,0 +100,0 @@ The following options can be overridden using ENVIRONMENT variables: |
@@ -96,3 +96,5 @@ /* | ||
launchId: process.env.RP_LAUNCH_ID || options.launchId, | ||
logLaunchLink: options.logLaunchLink, | ||
isLaunchMergeRequired: options.isLaunchMergeRequired, | ||
launchUuidPrint: options.launchUuidPrint, | ||
launchUuidPrintOutput: options.launchUuidPrintOutput, | ||
}; | ||
@@ -99,0 +101,0 @@ }; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
39840
141
450