@reportportal/agent-js-jasmine
Advanced tools
Comparing version 5.0.3 to 5.1.0
{ | ||
"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
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
67334
8
414
1
+ Added@reportportal/client-javascript@5.1.4(transitive)
+ Addedaxios@1.7.9(transitive)
+ Addedaxios-retry@4.5.0(transitive)
+ Addedbrace-expansion@2.0.1(transitive)
+ Addedglob@8.1.0(transitive)
+ Addedminimatch@5.1.6(transitive)
+ Addedproxy-from-env@1.1.0(transitive)
- Removed@babel/runtime@7.26.0(transitive)
- Removed@reportportal/client-javascript@5.0.15(transitive)
- Removedaxios@0.27.2(transitive)
- Removedaxios-retry@3.9.1(transitive)
- Removedbrace-expansion@1.1.11(transitive)
- Removedconcat-map@0.0.1(transitive)
- Removedglob@7.2.3(transitive)
- Removedminimatch@3.1.2(transitive)
- Removedpath-is-absolute@1.0.1(transitive)
- Removedregenerator-runtime@0.14.1(transitive)