@applitools/eyes-webdriverio 5.39.0 → 5.40.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +13 -0
- package/dist/legacy.js +4 -4
- package/dist/service.js +1 -1
- package/package.json +18 -16
- package/types/index.d.ts +343 -346
- package/types/service.d.ts +19 -33
- package/types/v8.d.ts +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -10,6 +10,19 @@
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
|
+
## 5.40.0 - 2023/1/18
|
|
14
|
+
|
|
15
|
+
### Features
|
|
16
|
+
- No new features
|
|
17
|
+
### Bug fixes
|
|
18
|
+
|
|
19
|
+
## 5.39.1 - 2023/1/5
|
|
20
|
+
|
|
21
|
+
### Features
|
|
22
|
+
- Upgrade to wdio@8
|
|
23
|
+
### Bug fixes
|
|
24
|
+
- Additional internal event logs
|
|
25
|
+
|
|
13
26
|
## 5.39.0 - 2022/12/21
|
|
14
27
|
|
|
15
28
|
### Features
|
package/dist/legacy.js
CHANGED
|
@@ -2,10 +2,6 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.By = void 0;
|
|
4
4
|
class By {
|
|
5
|
-
constructor(value, using = 'css selector') {
|
|
6
|
-
this.value = value;
|
|
7
|
-
this.using = using;
|
|
8
|
-
}
|
|
9
5
|
static css(css) {
|
|
10
6
|
return new By(css);
|
|
11
7
|
}
|
|
@@ -33,6 +29,10 @@ class By {
|
|
|
33
29
|
static xPath(xpath) {
|
|
34
30
|
return By.xpath(xpath);
|
|
35
31
|
}
|
|
32
|
+
constructor(value, using = 'css selector') {
|
|
33
|
+
this.value = value;
|
|
34
|
+
this.using = using;
|
|
35
|
+
}
|
|
36
36
|
toString() {
|
|
37
37
|
return `${this.using}:${this.value}`;
|
|
38
38
|
}
|
package/dist/service.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@applitools/eyes-webdriverio",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.40.0",
|
|
4
4
|
"description": "Applitools Eyes SDK for WebdriverIO",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eyes-webdriverio",
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
],
|
|
90
90
|
"scripts": {
|
|
91
91
|
"lint": "eslint '**/*.ts'",
|
|
92
|
-
"build": "ttsc --project tsconfig$([ ! -z $APPLITOOLS_WEBDRIVERIO_VERSION ] && echo
|
|
92
|
+
"build": "ttsc --project tsconfig.build.v$([ ! -z $APPLITOOLS_WEBDRIVERIO_VERSION ] && echo ${APPLITOOLS_WEBDRIVERIO_VERSION%%.*} || echo 8).json",
|
|
93
93
|
"generate:tests": "coverage-tests generate https://raw.githubusercontent.com/applitools/sdk.coverage.tests/universal-sdk/js/config.js --name 'eyes.webdriverio.javascript5'",
|
|
94
94
|
"test": "yarn test:service && yarn test:coverage",
|
|
95
95
|
"test:sanity": "echo 'create sanity suite'",
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
"setup": "yarn docker:setup",
|
|
102
102
|
"docker:setup": "node ../scripts/scripts/generate-docker-compose-config.js && docker-compose up -d",
|
|
103
103
|
"docker:teardown": "docker-compose down",
|
|
104
|
-
"upgrade:framework": "if [ ! -z $APPLITOOLS_WEBDRIVERIO_VERSION ]; then packagejson=`cat package.json`; yarn upgrade --no-lockfile webdriverio@$APPLITOOLS_WEBDRIVERIO_VERSION; echo \"$packagejson\" > package.json; fi",
|
|
104
|
+
"upgrade:framework": "if [ ! -z $APPLITOOLS_WEBDRIVERIO_VERSION ]; then packagejson=`cat package.json`; NODE_VERSION=${NODE_VERSION:-$(node -v)} yarn upgrade --no-lockfile webdriverio@$APPLITOOLS_WEBDRIVERIO_VERSION webdriver@$APPLITOOLS_WEBDRIVERIO_VERSION @types/node@${NODE_VERSION%%.*}; echo \"$packagejson\" > package.json; fi",
|
|
105
105
|
"deps": "bongo deps",
|
|
106
106
|
"gh:test": "gh workflow run test.yml --ref $(git rev-parse --abbrev-ref HEAD) -f packages='wdio wdio(node:14) wdio(node:12) wdio(protocol:cdp) wdio(framework:6) wdio(framework:5)'",
|
|
107
107
|
"gh:test:links": "gh workflow run test.yml --ref $(git rev-parse --abbrev-ref HEAD) -f packages='wdio wdio+cdp wdio@6 wdio@5' -f links='types test-utils sdk-shared eyes-sdk-core visual-grid-client eyes-api spec-driver-webdriverio utils driver snippets screenshoter'",
|
|
@@ -116,31 +116,33 @@
|
|
|
116
116
|
}
|
|
117
117
|
},
|
|
118
118
|
"dependencies": {
|
|
119
|
-
"@applitools/core": "1.
|
|
120
|
-
"@applitools/eyes-api": "1.
|
|
121
|
-
"@applitools/spec-driver-webdriverio": "1.4.
|
|
119
|
+
"@applitools/core": "1.4.0",
|
|
120
|
+
"@applitools/eyes-api": "1.12.0",
|
|
121
|
+
"@applitools/spec-driver-webdriverio": "1.4.20"
|
|
122
122
|
},
|
|
123
123
|
"devDependencies": {
|
|
124
124
|
"@applitools/api-extractor": "1.2.11",
|
|
125
|
-
"@applitools/bongo": "^2.2.
|
|
125
|
+
"@applitools/bongo": "^2.2.2",
|
|
126
126
|
"@applitools/scripts": "1.2.0",
|
|
127
127
|
"@applitools/sdk-coverage-tests": "^2.7.10",
|
|
128
128
|
"@applitools/sdk-shared": "0.9.15",
|
|
129
|
-
"@applitools/test-utils": "1.5.
|
|
129
|
+
"@applitools/test-utils": "1.5.8",
|
|
130
130
|
"@types/mocha": "^9.1.1",
|
|
131
|
-
"@types/node": "
|
|
131
|
+
"@types/node": "16",
|
|
132
132
|
"@typescript-eslint/eslint-plugin": "^5.27.0",
|
|
133
133
|
"@typescript-eslint/parser": "^5.27.0",
|
|
134
|
-
"@wdio/cli": "^
|
|
135
|
-
"@wdio/dot-reporter": "^
|
|
136
|
-
"@wdio/
|
|
137
|
-
"@wdio/
|
|
134
|
+
"@wdio/cli": "^8.0.15",
|
|
135
|
+
"@wdio/dot-reporter": "^8.0.14",
|
|
136
|
+
"@wdio/globals": "^8.0.15",
|
|
137
|
+
"@wdio/local-runner": "^8.0.15",
|
|
138
|
+
"@wdio/mocha-framework": "^8.0.14",
|
|
138
139
|
"chromedriver": "^105.0.1",
|
|
139
140
|
"eslint": "^8.16.0",
|
|
140
141
|
"eslint-config-prettier": "^8.5.0",
|
|
141
142
|
"eslint-plugin-mocha-no-only": "^1.1.1",
|
|
142
143
|
"eslint-plugin-node": "^11.1.0",
|
|
143
144
|
"eslint-plugin-prettier": "^4.0.0",
|
|
145
|
+
"expect-webdriverio": "^4.0.1",
|
|
144
146
|
"geckodriver": "^1.20.0",
|
|
145
147
|
"husky": "^4.3.8",
|
|
146
148
|
"mocha": "^9.2.2",
|
|
@@ -148,11 +150,11 @@
|
|
|
148
150
|
"spec-xunit-file": "0.0.1-3",
|
|
149
151
|
"ts-node": "^10.8.0",
|
|
150
152
|
"ttypescript": "^1.5.13",
|
|
151
|
-
"typescript": "^4.
|
|
152
|
-
"webdriverio": "^
|
|
153
|
+
"typescript": "^4.9.4",
|
|
154
|
+
"webdriverio": "^8.0.15"
|
|
153
155
|
},
|
|
154
156
|
"peerDependencies": {
|
|
155
|
-
"webdriverio": "5.0.0 -
|
|
157
|
+
"webdriverio": "5.0.0 - 8.x.x"
|
|
156
158
|
},
|
|
157
159
|
"engines": {
|
|
158
160
|
"node": ">=12.13.0"
|