wdio-reportportal-reporter
Advanced tools
Comparing version 0.0.10 to 0.0.11
@@ -0,0 +0,0 @@ ## The problem |
@@ -95,5 +95,9 @@ 'use strict'; | ||
const suiteStartObj = { type: entityType.SUITE, name: suite.title }; | ||
if (suite.tags && suite.tags.length > 0) { | ||
suiteStartObj.tags = suite.tags.map(tag => tag.name); | ||
// check is it at least cucumber v1 | ||
if (suite.tags[0].name) { | ||
suiteStartObj.tags = suite.tags.map(tag => tag.name); | ||
} else { | ||
suiteStartObj.tags = suite.tags; | ||
} | ||
} | ||
@@ -100,0 +104,0 @@ |
@@ -0,0 +0,0 @@ 'use strict'; |
@@ -79,5 +79,9 @@ /* eslint-disable object-curly-newline */ | ||
const suiteStartObj = { type: entityType.SUITE, name: suite.title }; | ||
if (suite.tags && suite.tags.length > 0) { | ||
suiteStartObj.tags = suite.tags.map(tag => tag.name); | ||
// check is it at least cucumber v1 | ||
if (suite.tags[0].name) { | ||
suiteStartObj.tags = suite.tags.map(tag => tag.name); | ||
} else { | ||
suiteStartObj.tags = suite.tags; | ||
} | ||
} | ||
@@ -84,0 +88,0 @@ |
@@ -0,0 +0,0 @@ /* eslint-disable no-console,no-param-reassign,class-methods-use-this */ |
{ | ||
"name": "wdio-reportportal-reporter", | ||
"version": "0.0.10", | ||
"version": "0.0.11", | ||
"description": "A WebdriverIO plugin. Report results to Report Portal.", | ||
@@ -5,0 +5,0 @@ "main": "build/reporter.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
789
36777
15