@wdio/reporter
Advanced tools
Comparing version 5.9.3 to 5.11.0
@@ -24,2 +24,3 @@ "use strict"; | ||
this.output = []; | ||
this.argument = test.argument; | ||
/** | ||
@@ -26,0 +27,0 @@ * initial test state is pending |
{ | ||
"name": "@wdio/reporter", | ||
"version": "5.9.3", | ||
"version": "5.11.0", | ||
"description": "A WebdriverIO utility to help reporting all events", | ||
@@ -41,3 +41,3 @@ "author": "Christian Bromann <christian@saucelabs.com>", | ||
}, | ||
"gitHead": "94c7a26fd99230516d430161989e794492893e07" | ||
"gitHead": "f235de6d9876a1a81bc1007430346d493ba7f579" | ||
} |
@@ -222,2 +222,65 @@ WebdriverIO Reporter | ||
Cucumber tests come with an additional `argument` property containing data tables if used in feature files, e.g.: | ||
```js | ||
TestStats { | ||
type: 'test', | ||
start: '2019-07-08T08:44:56.666Z', | ||
duration: 0, | ||
uid: 'I add the following grocieries16', | ||
cid: '0-0', | ||
title: 'I add the following grocieries', | ||
output: [], | ||
argument: [{ | ||
rows: [{ | ||
cells: ['Item', 'Amount'], | ||
locations: [{ | ||
line: 17, | ||
column: 11 | ||
}, { | ||
line: 17, | ||
column: 24 | ||
}] | ||
}, { | ||
cells: ['Milk', '2'], | ||
locations: [{ | ||
line: 18, | ||
column: 11 | ||
}, { | ||
line: 18, | ||
column: 24 | ||
}] | ||
}, { | ||
cells: ['Butter', '1'], | ||
locations: [{ | ||
line: 19, | ||
column: 11 | ||
}, { | ||
line: 19, | ||
column: 24 | ||
}] | ||
}, { | ||
cells: ['Noodles', '1'], | ||
locations: [{ | ||
line: 20, | ||
column: 11 | ||
}, { | ||
line: 20, | ||
column: 24 | ||
}] | ||
}, { | ||
cells: ['Schocolate', '3'], | ||
locations: [{ | ||
line: 21, | ||
column: 11 | ||
}, { | ||
line: 21, | ||
column: 24 | ||
}] | ||
}] | ||
}], | ||
state: 'pending' | ||
} | ||
``` | ||
##### onTestSkip | ||
@@ -224,0 +287,0 @@ |
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
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
24759
432
427