Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@reportportal/agent-js-jasmine

Package Overview
Dependencies
Maintainers
0
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@reportportal/agent-js-jasmine - npm Package Compare versions

Comparing version 5.0.3 to 5.1.0

28

package.json
{
"name": "@reportportal/agent-js-jasmine",
"version": "5.0.3",
"version": "5.1.0",
"description": "Agent for integration Jasmine with ReportPortal.",

@@ -9,18 +9,16 @@ "main": "./lib/reportportal-agent",

"format": "npm run lint -- --fix",
"test": "nyc ./node_modules/jasmine/bin/jasmine.js",
"test:coverage": "nyc report --reporter=lcov --reporter=text-summary"
"test": "jest --detectOpenHandles --config ./jest.config.js",
"test:coverage": "jest --coverage"
},
"dependencies": {
"@reportportal/client-javascript": "~5.0.15"
"@reportportal/client-javascript": "~5.1.4"
},
"devDependencies": {
"codecov": "^3.8.3",
"eslint": "^8.45.0",
"eslint": "^8.57.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-import": "^2.27.5",
"eslint-config-prettier": "^8.10.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^4.2.1",
"jasmine": "^3.10.0",
"nyc": "^15.1.0",
"jest": "^29.7.0",
"prettier": "^2.8.8"

@@ -32,9 +30,4 @@ },

"engines": {
"node": ">=10.x"
"node": ">=12.x"
},
"nyc": {
"include": [
"lib/*.js"
]
},
"author": "ReportPortal.io",

@@ -64,4 +57,5 @@ "license": "Apache-2.0",

"rp",
"jasmine"
"jasmine",
"reporter"
]
}

@@ -19,3 +19,3 @@ # @reportportal/agent-js-jasmine

module.exports = {
apiKey: "reportportalApiKey",
apiKey: "<API_KEY>",
endpoint: "http://your.reportportal.server/api/v1",

@@ -39,19 +39,22 @@ project: 'Your reportportal project name',

| 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. |
| 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. |
| attachPicturesToLogs | Optional | false | If set to 'true' then attempts will be made to attach screenshots to the logs. |
| reportHooks | Optional | false | Determines report before and after hooks or not. |
| 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. |
| 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. |
| headers | Optional | {} | The object with custom headers for internal http client. |
| launchUuidPrint | Optional | false | Whether to print the current launch UUID. |
| 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). |
| attachPicturesToLogs | Optional | false | If set to 'true' then attempts will be made to attach screenshots to the logs. |
| reportHooks | Optional | false | Determines report before and after hooks or not. |
| token | Deprecated | Not set | Use `apiKey` instead. |

@@ -301,3 +304,3 @@ **2.** Create the agent and add the reporter it to the Jasmine:

1. Install 'protractor-flake':
```bash
```cmd
npm install protractor-flake --save-dev

@@ -399,3 +402,3 @@ ```

6. Run your protractor:
```bash
```cmd
npm run protractor-multi

@@ -402,0 +405,0 @@ ```

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc