Skip to content

Commit

Permalink
update dependencies to latest with wdio@v7
Browse files Browse the repository at this point in the history
  • Loading branch information
wyhmichael committed Oct 27, 2021
1 parent 6698e86 commit c58350e
Show file tree
Hide file tree
Showing 4 changed files with 2,643 additions and 2,752 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:

strategy:
matrix:
node-version: [10.x, 12.x]
node-version: [10.x, 12.x, 14.x]

steps:
- uses: actions/checkout@v2
Expand Down
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ There are breaking changes between WDIO v4 and v5 with how custom reporters work
| ^0.4.0 | v4 |
| ^1.0.0 | v5 |
| ^2.0.0 | v6 |
| ^3.0.0 | v7 |



Expand Down Expand Up @@ -56,16 +57,16 @@ reporters: [
'dot',
['json',{
outputDir: './Results',
outputFileFormat: function(opts) {
outputFileFormat: function(opts) {
return `results-${opts.cid}.${opts.capabilities}.json`
}
}]
],
```

## Result Files
With WDIO v5, reporting has moved from a centralized process to one that is handled by each of the "sessions" spun up for parallel test execution.
This change helped reduce the amount of chatter during WDIO test execution and thus improved performance. The downside is we are no longer able
With WDIO v5, reporting has moved from a centralized process to one that is handled by each of the "sessions" spun up for parallel test execution.
This change helped reduce the amount of chatter during WDIO test execution and thus improved performance. The downside is we are no longer able
to get a single report for ALL test execution. Consider the following:

2 suites of tests configured to run in 2 browsers:
Expand Down Expand Up @@ -199,4 +200,4 @@ module.exports = {



For more information on WebdriverIO see the [homepage](http://webdriver.io).
For more information on WebdriverIO see the [homepage](http://webdriver.io).
23 changes: 11 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "wdio-json-reporter",
"version": "2.0.0",
"version": "3.0.0",
"description": "A WebdriverIO plugin. Report results in json format.",
"main": "./src/index.js",
"files": [
Expand Down Expand Up @@ -30,27 +30,26 @@
},
"homepage": "https://github.com/fijijavis/wdio-json-reporter#readme",
"dependencies": {
"@wdio/reporter": "^6.0.14",
"@wdio/reporter": "^7.16.3",
"jest-matchers": "^20.0.3"
},
"devDependencies": {
"eslint": "~4.18.2",
"eslint-config-standard": "~10.2.0",
"eslint-plugin-import": "^2.16.0",
"eslint-plugin-node": "~5.1.0",
"eslint-plugin-promise": "~3.5.0",
"eslint-plugin-standard": "~3.0.1",
"jest": "^24.3.0"
"eslint": "~8.1.0",
"eslint-config-standard": "~16.0.3",
"eslint-plugin-import": "~2.25.2",
"eslint-plugin-node": "~11.1.0",
"eslint-plugin-promise": "~5.1.1",
"jest": "~27.3.1"
},
"resolutions": {
"braces": "~2.3.0",
"set-value": "~2.0.1"
"braces": "~3.0.2",
"set-value": "~4.1.0"
},
"contributors": [
"Jim Davis"
],
"peerDependencies": {
"@wdio/cli": "^6.0.15"
"@wdio/cli": "^7.16.3"
},
"jest": {
"testPathIgnorePatterns": [
Expand Down
Loading

0 comments on commit c58350e

Please sign in to comment.