wdio-reportportal-reporter
Advanced tools
Comparing version 0.0.23 to 0.0.24
@@ -12,3 +12,3 @@ "use strict"; | ||
const events_1 = require("events"); | ||
const ReportPortalClient = require("reportportal-client"); | ||
const ReportPortalClient = require("reportportal-js-client"); | ||
const constants_1 = require("./constants"); | ||
@@ -58,2 +58,5 @@ const entities_1 = require("./entities"); | ||
return __awaiter(this, void 0, void 0, function* () { | ||
if (!ReportPortalReporter.client) { | ||
return false; | ||
} | ||
const launchStatusReq = { | ||
@@ -60,0 +63,0 @@ time: ReportPortalReporter.client.helpers.now(), |
import {createHash} from "crypto"; | ||
import {EventEmitter} from "events"; | ||
import * as ReportPortalClient from "reportportal-client"; | ||
import * as ReportPortalClient from "reportportal-js-client"; | ||
import {EVENTS, LEVEL, STATUS, TYPE} from "./constants"; | ||
@@ -42,2 +42,6 @@ import {Issue, StorageEntity, SuiteStartObj, TestEndObj, TestStartObj} from "./entities"; | ||
public static async waitLaunchFinished(timeout = 5000) { | ||
if (!ReportPortalReporter.client) { | ||
return false; | ||
} | ||
const launchStatusReq = { | ||
@@ -72,3 +76,2 @@ time: ReportPortalReporter.client.helpers.now(), | ||
public client: ReportPortalClient; | ||
public storage = new Storage(); | ||
@@ -75,0 +78,0 @@ public logger: Logger; |
{ | ||
"name": "wdio-reportportal-reporter", | ||
"version": "0.0.23", | ||
"version": "0.0.24", | ||
"description": "A WebdriverIO plugin. Report results to Report Portal.", | ||
@@ -38,12 +38,12 @@ "main": "build/reporter.js", | ||
"json-stringify-safe": "~5.0.1", | ||
"reportportal-client": "https://github.com/reportportal/client-javascript.git#b09e49b" | ||
"reportportal-js-client": "^1.0.1" | ||
}, | ||
"devDependencies": { | ||
"@types/jest": "^23.3.12", | ||
"jest": "^23.6.0", | ||
"@types/jest": "^24.0.0", | ||
"jest": "^24.1.0", | ||
"ts-jest": "^23.10.5", | ||
"@types/chai": "4.1.7", | ||
"@types/chai": "^4.1.7", | ||
"@types/cucumber": "^4.0.4", | ||
"@types/mocha": "5.2.5", | ||
"@types/webdriverio": "^4.13.1", | ||
"@types/mocha": "5.2.6", | ||
"@types/webdriverio": "4.13.3", | ||
"chai": "^4.1.2", | ||
@@ -55,6 +55,6 @@ "mocha": "^5.2.0", | ||
"wdio-mocha-framework": "^0.6.3", | ||
"webdriverio": "^4.14.2", | ||
"ts-node": "7.0.1", | ||
"webdriverio": "4.14.2", | ||
"ts-node": "^8.0.2", | ||
"tslint": "^5.11.0", | ||
"typescript": "3.1.6" | ||
"typescript": "^3.3.3" | ||
}, | ||
@@ -61,0 +61,0 @@ "contributors": [ |
@@ -15,3 +15,3 @@ WDIO Report Portal Reporter | ||
"devDependencies": { | ||
"wdio-reportportal-reporter": "~0.0.23", | ||
"wdio-reportportal-reporter": "~0.0.24", | ||
"wdio-reportportal-service": "~0.0.1" | ||
@@ -18,0 +18,0 @@ } |
@@ -39,6 +39,3 @@ const reporter = require('../../../build/reporter'); | ||
timeout: 20000, | ||
require: ['test/fixtures/features/steps/passing-steps.js', 'test/fixtures/features/steps/hooks.js'], | ||
compiler: [ | ||
'js:babel-register', | ||
], | ||
require: ['test/fixtures/features/steps/passing-steps.js', 'test/fixtures/features/steps/hooks.js'] | ||
}, | ||
@@ -45,0 +42,0 @@ afterTest: async function (test) { |
HTTP dependency
Supply chain riskContains a dependency which resolves to a remote HTTP URL which could be used to inject untrusted code and reduce overall package reliability.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
73052
1698
0
0
+ Addedaxios@0.19.2(transitive)
+ Addedaxios-retry@3.1.2(transitive)
+ Addedfollow-redirects@1.5.10(transitive)
+ Addedis-retry-allowed@1.2.0(transitive)
+ Addedreportportal-js-client@1.2.3(transitive)
+ Addeduniqid@5.0.3(transitive)
- Removedreportportal-client@https://github.com/reportportal/client-javascript.git#b09e49b