selenium: Upgrade WebdriverIO to v7

Update npm packages: @wdio/* and webdriverio.

Bug: T274579
Change-Id: Ie9bd50e36f0c888a19e73ab9b424a8b6a5bd67fd
This commit is contained in:
sahil 2021-06-17 22:16:56 +05:30 committed by Jdlrobson
parent ddebe5dabe
commit 7142676629
6 changed files with 751 additions and 231 deletions

View file

@ -1,6 +1,9 @@
{ {
"presets": ["@babel/preset-env"], "presets": ["@babel/preset-env"],
"plugins": [ "plugins": [
["@babel/transform-runtime", {
"regenerator": true
}],
["@babel/plugin-proposal-private-property-in-object", { ["@babel/plugin-proposal-private-property-in-object", {
"loose": true "loose": true
}] }]

View file

@ -15,7 +15,7 @@
"//": "Set the coverage percentage by category thresholds.", "//": "Set the coverage percentage by category thresholds.",
"statements": 85, "statements": 85,
"branches": 72, "branches": 72,
"functions": 84, "functions": 83,
"lines": 90, "lines": 90,
"//": "Fail if the coverage is below threshold.", "//": "Fail if the coverage is below threshold.",

962
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -27,16 +27,17 @@
}, },
"devDependencies": { "devDependencies": {
"@babel/core": "7.2.0", "@babel/core": "7.2.0",
"@babel/plugin-transform-runtime": "7.15.0",
"@babel/preset-env": "7.2.0", "@babel/preset-env": "7.2.0",
"@babel/register": "7.0.0", "@babel/register": "7.0.0",
"@storybook/html": "6.2.9", "@storybook/html": "6.2.9",
"@types/jquery": "3.3.29", "@types/jquery": "3.3.29",
"@wdio/cli": "6.3.5", "@wdio/cli": "7.4.6",
"@wdio/junit-reporter": "6.1.5", "@wdio/dot-reporter": "7.4.2",
"@wdio/local-runner": "6.3.5", "@wdio/junit-reporter": "7.4.2",
"@wdio/mocha-framework": "6.3.0", "@wdio/local-runner": "7.4.6",
"@wdio/dot-reporter": "6.3.0", "@wdio/mocha-framework": "7.4.6",
"@wdio/sync": "6.3.3", "@wdio/sync": "7.4.6",
"@wikimedia/mw-node-qunit": "6.1.0", "@wikimedia/mw-node-qunit": "6.1.0",
"babel-loader": "8.0.4", "babel-loader": "8.0.4",
"browserslist-config-wikimedia": "0.2.0", "browserslist-config-wikimedia": "0.2.0",
@ -61,7 +62,7 @@
"tap-mocha-reporter": "5.0.1", "tap-mocha-reporter": "5.0.1",
"url-loader": "1.1.2", "url-loader": "1.1.2",
"wdio-mediawiki": "1.1.1", "wdio-mediawiki": "1.1.1",
"webdriverio": "6.3.5", "webdriverio": "7.4.6",
"webpack": "4.44.2", "webpack": "4.44.2",
"webpack-cli": "3.1.2" "webpack-cli": "3.1.2"
}, },

Binary file not shown.

Binary file not shown.