New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

wdio-reportportal-reporter

Package Overview
Dependencies
Maintainers
1
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wdio-reportportal-reporter - npm Package Compare versions

Comparing version 0.0.15 to 0.0.16

build/specs/cucumber-test-case.js

16

build/reporter.js

@@ -93,3 +93,7 @@ "use strict";

const parent = this.getParent(suite.cid);
const { promise } = this.client.finishTestItem(parent.id, {});
const finishSuiteObj = { status: constants_1.STATUS.PASSED };
if (this.startedTests[suite.cid].length === 0) {
finishSuiteObj.status = constants_1.STATUS.FAILED;
}
const { promise } = this.client.finishTestItem(parent.id, finishSuiteObj);
utils_1.promiseErrorHandler(promise);

@@ -218,3 +222,6 @@ this.clearParent(suite.cid);

runnerEnd(runner) {
delete this.startedTests[runner.cid];
const clear = (cid) => {
delete this.startedTests[cid];
};
setTimeout(clear.bind(this), 5000, runner.cid);
}

@@ -320,2 +327,7 @@ sendLogToTest({ cid, test, level, message }) {

}
// tslint:disable-next-line
constructor(issue_type);
{
this.issue_type = issue_type;
}
module.exports = ReportPortalReporter;

@@ -111,3 +111,7 @@ import { EventEmitter } from "events";

const parent = this.getParent(suite.cid);
const { promise } = this.client.finishTestItem(parent.id, {});
const finishSuiteObj = {status: STATUS.PASSED};
if (this.startedTests[suite.cid].length === 0) {
finishSuiteObj.status = STATUS.FAILED;
}
const { promise } = this.client.finishTestItem(parent.id, finishSuiteObj);
promiseErrorHandler(promise);

@@ -260,3 +264,6 @@ this.clearParent(suite.cid);

public runnerEnd(runner) {
delete this.startedTests[runner.cid];
const clear = (cid) => {
delete this.startedTests[cid];
};
setTimeout(clear.bind(this), 5000, runner.cid);
}

@@ -263,0 +270,0 @@

2

package.json
{
"name": "wdio-reportportal-reporter",
"version": "0.0.15",
"version": "0.0.16",
"description": "A WebdriverIO plugin. Report results to Report Portal.",

@@ -5,0 +5,0 @@ "main": "build/reporter.js",

@@ -15,3 +15,3 @@ WDIO Report Portal Reporter

"devDependencies": {
"wdio-reportportal-reporter": "~0.0.14"
"wdio-reportportal-reporter": "~0.0.15"
}

@@ -18,0 +18,0 @@ }

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