appium-espresso-driver 2.24.0 → 2.25.1
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 +14 -0
- package/README.md +2 -1
- package/espresso-server/app/build/outputs/apk/androidTest/debug/app-debug-androidTest.apk +0 -0
- package/espresso-server/app/src/androidTest/java/io/appium/espressoserver/lib/helpers/CustomFailureHandler.kt +52 -0
- package/espresso-server/app/src/androidTest/java/io/appium/espressoserver/lib/http/Server.kt +9 -0
- package/npm-shrinkwrap.json +103 -183
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [2.25.1](https://github.com/appium/appium-espresso-driver/compare/v2.25.0...v2.25.1) (2023-08-14)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Miscellaneous Chores
|
|
5
|
+
|
|
6
|
+
* **deps-dev:** bump lint-staged from 13.3.0 to 14.0.0 ([#899](https://github.com/appium/appium-espresso-driver/issues/899)) ([ca0048f](https://github.com/appium/appium-espresso-driver/commit/ca0048f841f8e8469ceaa69b4cfe01cc890348e8))
|
|
7
|
+
|
|
8
|
+
## [2.25.0](https://github.com/appium/appium-espresso-driver/compare/v2.24.0...v2.25.0) (2023-08-07)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
* Disable screenshots and hierarchy snapshots on failures ([#895](https://github.com/appium/appium-espresso-driver/issues/895)) ([40bd4a7](https://github.com/appium/appium-espresso-driver/commit/40bd4a7074e1e11bb5778e2b323a0ef7950e58a4))
|
|
14
|
+
|
|
1
15
|
## [2.24.0](https://github.com/appium/appium-espresso-driver/compare/v2.23.5...v2.24.0) (2023-06-26)
|
|
2
16
|
|
|
3
17
|
|
package/README.md
CHANGED
|
@@ -23,7 +23,6 @@ The Espresso package consists of two main parts:
|
|
|
23
23
|
|
|
24
24
|
The key difference between [UiAutomator2 Driver](https://github.com/appium/appium-uiautomator2-driver) and Espresso Driver is that UiAutomator2 is a black-box testing framework, and Espresso is a "grey-box" testing framework. The Espresso Driver itself is black-box (no internals of the code are exposed to the tester), but the Espresso framework itself has access to the internals of Android applications. This distinction has a few notable benefits. It can find elements that aren't rendered on the screen, it can identify elements by the Android View Tag, and it makes use of [IdlingResource](https://developer.android.com/reference/android/support/test/espresso/IdlingResource) which blocks the framework from running commands until the UI thread is free. There is a limited support of out-of-app areas automation via the [mobile: uiautomator](#mobile-uiautomator) command.
|
|
25
25
|
|
|
26
|
-
|
|
27
26
|
## Requirements
|
|
28
27
|
|
|
29
28
|
On top of standard Appium requirements Espresso driver also expects the following prerequisites:
|
|
@@ -1617,6 +1616,8 @@ more details.
|
|
|
1617
1616
|
-keep class android.support.v7.** { *; }
|
|
1618
1617
|
```
|
|
1619
1618
|
Please read [#449](https://github.com/appium/appium-espresso-driver/issues/449#issuecomment-537833139) for more details on this topic.
|
|
1619
|
+
* When you want to build without compose dependencies
|
|
1620
|
+
* Espresso driver has Jetpack Compose dependencies to [support Jetpack Compose](#jetpack-compose-support). It could break the application under test's dependencies. The typical case is when the application under test does not have the Jetpack Compose dependencies. Then, you can try out [no compose dependencies branch](https://github.com/appium/appium-espresso-driver/pull/879)). In Appium 2.0, the branch is available as `appium driver install --source=local /path/to/the/appium-espress-driver` with the `no-compose-deps` branch instead of npm installation.
|
|
1620
1621
|
|
|
1621
1622
|
|
|
1622
1623
|
## Contributing
|
|
Binary file
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (C) 2014 The Android Open Source Project
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
package io.appium.espressoserver.lib.helpers
|
|
18
|
+
|
|
19
|
+
import android.content.Context
|
|
20
|
+
import android.view.View
|
|
21
|
+
import androidx.test.espresso.FailureHandler
|
|
22
|
+
import androidx.test.espresso.base.DefaultFailureHandler
|
|
23
|
+
import org.hamcrest.Matcher
|
|
24
|
+
import java.util.concurrent.atomic.AtomicInteger
|
|
25
|
+
|
|
26
|
+
class CustomFailureHandler(appContext: Context) : FailureHandler {
|
|
27
|
+
private val originalHandler = DefaultFailureHandler(appContext)
|
|
28
|
+
|
|
29
|
+
private val handlersField = DefaultFailureHandler::class.java.getDeclaredField("handlers").apply {
|
|
30
|
+
isAccessible = true
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
@Suppress("UNCHECKED_CAST")
|
|
34
|
+
private val originalHandlers: ArrayList<FailureHandler>
|
|
35
|
+
get() = handlersField.get(originalHandler) as ArrayList<FailureHandler>
|
|
36
|
+
|
|
37
|
+
init {
|
|
38
|
+
// This is to remove handlers that would dump whole view hierarchy on exception
|
|
39
|
+
// It will cause exceptions because it will access the views from another thread (Appium server one)
|
|
40
|
+
originalHandlers.removeAll { it.javaClass.name == "androidx.test.espresso.base.ViewHierarchyExceptionHandler" }
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
override fun handle(error: Throwable?, viewMatcher: Matcher<View>?) {
|
|
44
|
+
val failureCountField = DefaultFailureHandler::class.java.getDeclaredField("failureCount")
|
|
45
|
+
failureCountField.isAccessible = true
|
|
46
|
+
(failureCountField.get(originalHandler) as AtomicInteger).incrementAndGet()
|
|
47
|
+
|
|
48
|
+
for (handler in originalHandlers) {
|
|
49
|
+
handler.handle(error, viewMatcher)
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
package/espresso-server/app/src/androidTest/java/io/appium/espressoserver/lib/http/Server.kt
CHANGED
|
@@ -16,9 +16,12 @@
|
|
|
16
16
|
|
|
17
17
|
package io.appium.espressoserver.lib.http
|
|
18
18
|
|
|
19
|
+
import androidx.test.espresso.Espresso
|
|
20
|
+
import androidx.test.platform.app.InstrumentationRegistry
|
|
19
21
|
import com.google.gson.GsonBuilder
|
|
20
22
|
import fi.iki.elonen.NanoHTTPD
|
|
21
23
|
import io.appium.espressoserver.lib.helpers.AndroidLogger
|
|
24
|
+
import io.appium.espressoserver.lib.helpers.CustomFailureHandler
|
|
22
25
|
import io.appium.espressoserver.lib.helpers.StringHelpers
|
|
23
26
|
import io.appium.espressoserver.lib.helpers.setAccessibilityServiceState
|
|
24
27
|
import io.appium.espressoserver.lib.http.response.AppiumResponse
|
|
@@ -86,6 +89,7 @@ object Server : NanoHTTPD(DEFAULT_PORT) {
|
|
|
86
89
|
}
|
|
87
90
|
|
|
88
91
|
setAccessibilityServiceState()
|
|
92
|
+
setCustomFailureHandler()
|
|
89
93
|
|
|
90
94
|
try {
|
|
91
95
|
super.start(SOCKET_READ_TIMEOUT, false)
|
|
@@ -98,6 +102,11 @@ object Server : NanoHTTPD(DEFAULT_PORT) {
|
|
|
98
102
|
router = Router()
|
|
99
103
|
}
|
|
100
104
|
|
|
105
|
+
private fun setCustomFailureHandler() =
|
|
106
|
+
Espresso.setFailureHandler(
|
|
107
|
+
CustomFailureHandler(InstrumentationRegistry.getInstrumentation().targetContext)
|
|
108
|
+
)
|
|
109
|
+
|
|
101
110
|
override fun stop() {
|
|
102
111
|
super.stop()
|
|
103
112
|
AndroidLogger.info("\nStopping Appium Espresso at port $DEFAULT_PORT\n")
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "appium-espresso-driver",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.25.1",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "appium-espresso-driver",
|
|
9
|
-
"version": "2.
|
|
9
|
+
"version": "2.25.1",
|
|
10
10
|
"license": "Apache-2.0",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@babel/runtime": "^7.4.3",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"eslint-plugin-import": "^2.25.3",
|
|
44
44
|
"eslint-plugin-mocha": "^9.0.0",
|
|
45
45
|
"eslint-plugin-promise": "^6.0.0",
|
|
46
|
-
"lint-staged": "^
|
|
46
|
+
"lint-staged": "^14.0.0",
|
|
47
47
|
"mocha": "^10.0.0",
|
|
48
48
|
"pre-commit": "^1.2.2",
|
|
49
49
|
"rimraf": "^5.0.0",
|
|
@@ -61,11 +61,11 @@
|
|
|
61
61
|
}
|
|
62
62
|
},
|
|
63
63
|
"node_modules/@appium/base-driver": {
|
|
64
|
-
"version": "9.3.
|
|
64
|
+
"version": "9.3.16",
|
|
65
65
|
"license": "Apache-2.0",
|
|
66
66
|
"dependencies": {
|
|
67
|
-
"@appium/support": "^4.1.
|
|
68
|
-
"@appium/types": "^0.13.
|
|
67
|
+
"@appium/support": "^4.1.3",
|
|
68
|
+
"@appium/types": "^0.13.2",
|
|
69
69
|
"@colors/colors": "1.5.0",
|
|
70
70
|
"@types/async-lock": "1.4.0",
|
|
71
71
|
"@types/bluebird": "3.5.38",
|
|
@@ -103,12 +103,12 @@
|
|
|
103
103
|
}
|
|
104
104
|
},
|
|
105
105
|
"node_modules/@appium/base-plugin": {
|
|
106
|
-
"version": "2.2.
|
|
106
|
+
"version": "2.2.16",
|
|
107
107
|
"extraneous": true,
|
|
108
108
|
"license": "Apache-2.0",
|
|
109
109
|
"dependencies": {
|
|
110
|
-
"@appium/base-driver": "^9.3.
|
|
111
|
-
"@appium/support": "^4.1.
|
|
110
|
+
"@appium/base-driver": "^9.3.16",
|
|
111
|
+
"@appium/support": "^4.1.3"
|
|
112
112
|
},
|
|
113
113
|
"engines": {
|
|
114
114
|
"node": "^14.17.0 || ^16.13.0 || >=18.0.0",
|
|
@@ -116,11 +116,11 @@
|
|
|
116
116
|
}
|
|
117
117
|
},
|
|
118
118
|
"node_modules/@appium/docutils": {
|
|
119
|
-
"version": "0.4.
|
|
119
|
+
"version": "0.4.5",
|
|
120
120
|
"extraneous": true,
|
|
121
121
|
"license": "Apache-2.0",
|
|
122
122
|
"dependencies": {
|
|
123
|
-
"@appium/support": "^4.1.
|
|
123
|
+
"@appium/support": "^4.1.3",
|
|
124
124
|
"@appium/tsconfig": "^0.3.0",
|
|
125
125
|
"@appium/typedoc-plugin-appium": "^0.6.5",
|
|
126
126
|
"@sliphua/lilconfig-ts-loader": "3.2.2",
|
|
@@ -136,9 +136,9 @@
|
|
|
136
136
|
"log-symbols": "4.1.0",
|
|
137
137
|
"pkg-dir": "5.0.0",
|
|
138
138
|
"read-pkg": "5.2.0",
|
|
139
|
-
"semver": "7.5.
|
|
139
|
+
"semver": "7.5.3",
|
|
140
140
|
"source-map-support": "0.5.21",
|
|
141
|
-
"teen_process": "2.0.
|
|
141
|
+
"teen_process": "2.0.4",
|
|
142
142
|
"type-fest": "3.11.1",
|
|
143
143
|
"typedoc": "0.23.28",
|
|
144
144
|
"typedoc-plugin-markdown": "3.14.0",
|
|
@@ -156,17 +156,6 @@
|
|
|
156
156
|
"npm": ">=8"
|
|
157
157
|
}
|
|
158
158
|
},
|
|
159
|
-
"node_modules/@appium/docutils/node_modules/@babel/runtime": {
|
|
160
|
-
"version": "7.19.0",
|
|
161
|
-
"extraneous": true,
|
|
162
|
-
"license": "MIT",
|
|
163
|
-
"dependencies": {
|
|
164
|
-
"regenerator-runtime": "^0.13.4"
|
|
165
|
-
},
|
|
166
|
-
"engines": {
|
|
167
|
-
"node": ">=6.9.0"
|
|
168
|
-
}
|
|
169
|
-
},
|
|
170
159
|
"node_modules/@appium/docutils/node_modules/ansi-styles": {
|
|
171
160
|
"version": "4.3.0",
|
|
172
161
|
"extraneous": true,
|
|
@@ -224,7 +213,7 @@
|
|
|
224
213
|
}
|
|
225
214
|
},
|
|
226
215
|
"node_modules/@appium/docutils/node_modules/semver": {
|
|
227
|
-
"version": "7.5.
|
|
216
|
+
"version": "7.5.3",
|
|
228
217
|
"extraneous": true,
|
|
229
218
|
"license": "ISC",
|
|
230
219
|
"dependencies": {
|
|
@@ -237,11 +226,6 @@
|
|
|
237
226
|
"node": ">=10"
|
|
238
227
|
}
|
|
239
228
|
},
|
|
240
|
-
"node_modules/@appium/docutils/node_modules/shell-quote": {
|
|
241
|
-
"version": "1.7.3",
|
|
242
|
-
"extraneous": true,
|
|
243
|
-
"license": "MIT"
|
|
244
|
-
},
|
|
245
229
|
"node_modules/@appium/docutils/node_modules/supports-color": {
|
|
246
230
|
"version": "7.2.0",
|
|
247
231
|
"extraneous": true,
|
|
@@ -253,44 +237,13 @@
|
|
|
253
237
|
"node": ">=8"
|
|
254
238
|
}
|
|
255
239
|
},
|
|
256
|
-
"node_modules/@appium/docutils/node_modules/teen_process": {
|
|
257
|
-
"version": "2.0.2",
|
|
258
|
-
"extraneous": true,
|
|
259
|
-
"license": "Apache-2.0",
|
|
260
|
-
"dependencies": {
|
|
261
|
-
"@babel/runtime": "7.19.0",
|
|
262
|
-
"bluebird": "3.7.2",
|
|
263
|
-
"lodash": "4.17.21",
|
|
264
|
-
"shell-quote": "1.7.3",
|
|
265
|
-
"source-map-support": "0.5.21",
|
|
266
|
-
"which": "2.0.2"
|
|
267
|
-
},
|
|
268
|
-
"engines": {
|
|
269
|
-
"node": ">=14",
|
|
270
|
-
"npm": ">=6"
|
|
271
|
-
}
|
|
272
|
-
},
|
|
273
|
-
"node_modules/@appium/docutils/node_modules/which": {
|
|
274
|
-
"version": "2.0.2",
|
|
275
|
-
"extraneous": true,
|
|
276
|
-
"license": "ISC",
|
|
277
|
-
"dependencies": {
|
|
278
|
-
"isexe": "^2.0.0"
|
|
279
|
-
},
|
|
280
|
-
"bin": {
|
|
281
|
-
"node-which": "bin/node-which"
|
|
282
|
-
},
|
|
283
|
-
"engines": {
|
|
284
|
-
"node": ">= 8"
|
|
285
|
-
}
|
|
286
|
-
},
|
|
287
240
|
"node_modules/@appium/docutils/node_modules/yallist": {
|
|
288
241
|
"version": "4.0.0",
|
|
289
242
|
"extraneous": true,
|
|
290
243
|
"license": "ISC"
|
|
291
244
|
},
|
|
292
245
|
"node_modules/@appium/schema": {
|
|
293
|
-
"version": "0.3.
|
|
246
|
+
"version": "0.3.1",
|
|
294
247
|
"license": "Apache-2.0",
|
|
295
248
|
"dependencies": {
|
|
296
249
|
"@types/json-schema": "7.0.12",
|
|
@@ -303,11 +256,11 @@
|
|
|
303
256
|
}
|
|
304
257
|
},
|
|
305
258
|
"node_modules/@appium/support": {
|
|
306
|
-
"version": "4.1.
|
|
259
|
+
"version": "4.1.3",
|
|
307
260
|
"license": "Apache-2.0",
|
|
308
261
|
"dependencies": {
|
|
309
262
|
"@appium/tsconfig": "^0.3.0",
|
|
310
|
-
"@appium/types": "^0.13.
|
|
263
|
+
"@appium/types": "^0.13.2",
|
|
311
264
|
"@colors/colors": "1.5.0",
|
|
312
265
|
"@types/archiver": "5.3.2",
|
|
313
266
|
"@types/base64-stream": "1.0.2",
|
|
@@ -324,7 +277,7 @@
|
|
|
324
277
|
"@types/shell-quote": "1.7.1",
|
|
325
278
|
"@types/supports-color": "8.1.1",
|
|
326
279
|
"@types/teen_process": "2.0.0",
|
|
327
|
-
"@types/uuid": "9.0.
|
|
280
|
+
"@types/uuid": "9.0.2",
|
|
328
281
|
"@types/which": "3.0.0",
|
|
329
282
|
"archiver": "5.3.1",
|
|
330
283
|
"axios": "1.4.0",
|
|
@@ -351,11 +304,11 @@
|
|
|
351
304
|
"read-pkg": "5.2.0",
|
|
352
305
|
"resolve-from": "5.0.0",
|
|
353
306
|
"sanitize-filename": "1.6.3",
|
|
354
|
-
"semver": "7.5.
|
|
307
|
+
"semver": "7.5.3",
|
|
355
308
|
"shell-quote": "1.8.1",
|
|
356
309
|
"source-map-support": "0.5.21",
|
|
357
310
|
"supports-color": "8.1.1",
|
|
358
|
-
"teen_process": "2.0.
|
|
311
|
+
"teen_process": "2.0.4",
|
|
359
312
|
"type-fest": "3.11.1",
|
|
360
313
|
"uuid": "9.0.0",
|
|
361
314
|
"which": "3.0.1",
|
|
@@ -369,16 +322,6 @@
|
|
|
369
322
|
"sharp": "0.32.1"
|
|
370
323
|
}
|
|
371
324
|
},
|
|
372
|
-
"node_modules/@appium/support/node_modules/@babel/runtime": {
|
|
373
|
-
"version": "7.19.0",
|
|
374
|
-
"license": "MIT",
|
|
375
|
-
"dependencies": {
|
|
376
|
-
"regenerator-runtime": "^0.13.4"
|
|
377
|
-
},
|
|
378
|
-
"engines": {
|
|
379
|
-
"node": ">=6.9.0"
|
|
380
|
-
}
|
|
381
|
-
},
|
|
382
325
|
"node_modules/@appium/support/node_modules/brace-expansion": {
|
|
383
326
|
"version": "2.0.1",
|
|
384
327
|
"license": "MIT",
|
|
@@ -424,7 +367,7 @@
|
|
|
424
367
|
}
|
|
425
368
|
},
|
|
426
369
|
"node_modules/@appium/support/node_modules/semver": {
|
|
427
|
-
"version": "7.5.
|
|
370
|
+
"version": "7.5.3",
|
|
428
371
|
"license": "ISC",
|
|
429
372
|
"dependencies": {
|
|
430
373
|
"lru-cache": "^6.0.0"
|
|
@@ -436,39 +379,6 @@
|
|
|
436
379
|
"node": ">=10"
|
|
437
380
|
}
|
|
438
381
|
},
|
|
439
|
-
"node_modules/@appium/support/node_modules/teen_process": {
|
|
440
|
-
"version": "2.0.2",
|
|
441
|
-
"license": "Apache-2.0",
|
|
442
|
-
"dependencies": {
|
|
443
|
-
"@babel/runtime": "7.19.0",
|
|
444
|
-
"bluebird": "3.7.2",
|
|
445
|
-
"lodash": "4.17.21",
|
|
446
|
-
"shell-quote": "1.7.3",
|
|
447
|
-
"source-map-support": "0.5.21",
|
|
448
|
-
"which": "2.0.2"
|
|
449
|
-
},
|
|
450
|
-
"engines": {
|
|
451
|
-
"node": ">=14",
|
|
452
|
-
"npm": ">=6"
|
|
453
|
-
}
|
|
454
|
-
},
|
|
455
|
-
"node_modules/@appium/support/node_modules/teen_process/node_modules/shell-quote": {
|
|
456
|
-
"version": "1.7.3",
|
|
457
|
-
"license": "MIT"
|
|
458
|
-
},
|
|
459
|
-
"node_modules/@appium/support/node_modules/teen_process/node_modules/which": {
|
|
460
|
-
"version": "2.0.2",
|
|
461
|
-
"license": "ISC",
|
|
462
|
-
"dependencies": {
|
|
463
|
-
"isexe": "^2.0.0"
|
|
464
|
-
},
|
|
465
|
-
"bin": {
|
|
466
|
-
"node-which": "bin/node-which"
|
|
467
|
-
},
|
|
468
|
-
"engines": {
|
|
469
|
-
"node": ">= 8"
|
|
470
|
-
}
|
|
471
|
-
},
|
|
472
382
|
"node_modules/@appium/support/node_modules/yallist": {
|
|
473
383
|
"version": "4.0.0",
|
|
474
384
|
"license": "ISC"
|
|
@@ -507,14 +417,14 @@
|
|
|
507
417
|
}
|
|
508
418
|
},
|
|
509
419
|
"node_modules/@appium/types": {
|
|
510
|
-
"version": "0.13.
|
|
420
|
+
"version": "0.13.2",
|
|
511
421
|
"license": "Apache-2.0",
|
|
512
422
|
"dependencies": {
|
|
513
|
-
"@appium/schema": "^0.3.
|
|
423
|
+
"@appium/schema": "^0.3.1",
|
|
514
424
|
"@appium/tsconfig": "^0.3.0",
|
|
515
425
|
"@types/express": "4.17.17",
|
|
516
426
|
"@types/npmlog": "4.1.4",
|
|
517
|
-
"@types/ws": "8.5.
|
|
427
|
+
"@types/ws": "8.5.5",
|
|
518
428
|
"type-fest": "3.11.1"
|
|
519
429
|
},
|
|
520
430
|
"engines": {
|
|
@@ -523,10 +433,11 @@
|
|
|
523
433
|
}
|
|
524
434
|
},
|
|
525
435
|
"node_modules/@babel/code-frame": {
|
|
526
|
-
"version": "7.22.
|
|
436
|
+
"version": "7.22.10",
|
|
527
437
|
"license": "MIT",
|
|
528
438
|
"dependencies": {
|
|
529
|
-
"@babel/highlight": "^7.22.
|
|
439
|
+
"@babel/highlight": "^7.22.10",
|
|
440
|
+
"chalk": "^2.4.2"
|
|
530
441
|
},
|
|
531
442
|
"engines": {
|
|
532
443
|
"node": ">=6.9.0"
|
|
@@ -540,11 +451,11 @@
|
|
|
540
451
|
}
|
|
541
452
|
},
|
|
542
453
|
"node_modules/@babel/highlight": {
|
|
543
|
-
"version": "7.22.
|
|
454
|
+
"version": "7.22.10",
|
|
544
455
|
"license": "MIT",
|
|
545
456
|
"dependencies": {
|
|
546
457
|
"@babel/helper-validator-identifier": "^7.22.5",
|
|
547
|
-
"chalk": "^2.
|
|
458
|
+
"chalk": "^2.4.2",
|
|
548
459
|
"js-tokens": "^4.0.0"
|
|
549
460
|
},
|
|
550
461
|
"engines": {
|
|
@@ -552,10 +463,10 @@
|
|
|
552
463
|
}
|
|
553
464
|
},
|
|
554
465
|
"node_modules/@babel/runtime": {
|
|
555
|
-
"version": "7.22.
|
|
466
|
+
"version": "7.22.10",
|
|
556
467
|
"license": "MIT",
|
|
557
468
|
"dependencies": {
|
|
558
|
-
"regenerator-runtime": "^0.
|
|
469
|
+
"regenerator-runtime": "^0.14.0"
|
|
559
470
|
},
|
|
560
471
|
"engines": {
|
|
561
472
|
"node": ">=6.9.0"
|
|
@@ -806,7 +717,7 @@
|
|
|
806
717
|
}
|
|
807
718
|
},
|
|
808
719
|
"node_modules/@types/node": {
|
|
809
|
-
"version": "20.
|
|
720
|
+
"version": "20.5.0",
|
|
810
721
|
"license": "MIT"
|
|
811
722
|
},
|
|
812
723
|
"node_modules/@types/normalize-package-data": {
|
|
@@ -885,7 +796,7 @@
|
|
|
885
796
|
"license": "MIT"
|
|
886
797
|
},
|
|
887
798
|
"node_modules/@types/uuid": {
|
|
888
|
-
"version": "9.0.
|
|
799
|
+
"version": "9.0.2",
|
|
889
800
|
"license": "MIT"
|
|
890
801
|
},
|
|
891
802
|
"node_modules/@types/which": {
|
|
@@ -898,14 +809,14 @@
|
|
|
898
809
|
"license": "MIT"
|
|
899
810
|
},
|
|
900
811
|
"node_modules/@types/ws": {
|
|
901
|
-
"version": "8.5.
|
|
812
|
+
"version": "8.5.5",
|
|
902
813
|
"license": "MIT",
|
|
903
814
|
"dependencies": {
|
|
904
815
|
"@types/node": "*"
|
|
905
816
|
}
|
|
906
817
|
},
|
|
907
818
|
"node_modules/@xmldom/xmldom": {
|
|
908
|
-
"version": "0.8.
|
|
819
|
+
"version": "0.8.10",
|
|
909
820
|
"license": "MIT",
|
|
910
821
|
"engines": {
|
|
911
822
|
"node": ">=10.0.0"
|
|
@@ -990,7 +901,7 @@
|
|
|
990
901
|
}
|
|
991
902
|
},
|
|
992
903
|
"node_modules/ansi-sequence-parser": {
|
|
993
|
-
"version": "1.1.
|
|
904
|
+
"version": "1.1.1",
|
|
994
905
|
"extraneous": true,
|
|
995
906
|
"license": "MIT"
|
|
996
907
|
},
|
|
@@ -1005,7 +916,7 @@
|
|
|
1005
916
|
}
|
|
1006
917
|
},
|
|
1007
918
|
"node_modules/appium-adb": {
|
|
1008
|
-
"version": "9.
|
|
919
|
+
"version": "9.14.5",
|
|
1009
920
|
"license": "Apache-2.0",
|
|
1010
921
|
"dependencies": {
|
|
1011
922
|
"@appium/support": "^4.0.0",
|
|
@@ -1013,9 +924,9 @@
|
|
|
1013
924
|
"async-lock": "^1.0.0",
|
|
1014
925
|
"asyncbox": "^2.6.0",
|
|
1015
926
|
"bluebird": "^3.4.7",
|
|
1016
|
-
"ini": "^
|
|
927
|
+
"ini": "^4.1.1",
|
|
1017
928
|
"lodash": "^4.0.0",
|
|
1018
|
-
"lru-cache": "^
|
|
929
|
+
"lru-cache": "^10.0.0",
|
|
1019
930
|
"semver": "^7.0.0",
|
|
1020
931
|
"source-map-support": "^0.x",
|
|
1021
932
|
"teen_process": "^2.0.1",
|
|
@@ -1027,14 +938,14 @@
|
|
|
1027
938
|
}
|
|
1028
939
|
},
|
|
1029
940
|
"node_modules/appium-adb/node_modules/lru-cache": {
|
|
1030
|
-
"version": "
|
|
941
|
+
"version": "10.0.1",
|
|
1031
942
|
"license": "ISC",
|
|
1032
943
|
"engines": {
|
|
1033
|
-
"node": ">=
|
|
944
|
+
"node": "14 || >=16.14"
|
|
1034
945
|
}
|
|
1035
946
|
},
|
|
1036
947
|
"node_modules/appium-adb/node_modules/semver": {
|
|
1037
|
-
"version": "7.5.
|
|
948
|
+
"version": "7.5.4",
|
|
1038
949
|
"license": "ISC",
|
|
1039
950
|
"dependencies": {
|
|
1040
951
|
"lru-cache": "^6.0.0"
|
|
@@ -1061,7 +972,7 @@
|
|
|
1061
972
|
"license": "ISC"
|
|
1062
973
|
},
|
|
1063
974
|
"node_modules/appium-android-driver": {
|
|
1064
|
-
"version": "5.14.
|
|
975
|
+
"version": "5.14.2",
|
|
1065
976
|
"license": "Apache-2.0",
|
|
1066
977
|
"dependencies": {
|
|
1067
978
|
"appium-adb": "^9.11.2",
|
|
@@ -1098,7 +1009,7 @@
|
|
|
1098
1009
|
}
|
|
1099
1010
|
},
|
|
1100
1011
|
"node_modules/appium-android-driver/node_modules/semver": {
|
|
1101
|
-
"version": "7.5.
|
|
1012
|
+
"version": "7.5.4",
|
|
1102
1013
|
"license": "ISC",
|
|
1103
1014
|
"dependencies": {
|
|
1104
1015
|
"lru-cache": "^6.0.0"
|
|
@@ -1125,7 +1036,7 @@
|
|
|
1125
1036
|
"license": "ISC"
|
|
1126
1037
|
},
|
|
1127
1038
|
"node_modules/appium-chromedriver": {
|
|
1128
|
-
"version": "5.
|
|
1039
|
+
"version": "5.6.2",
|
|
1129
1040
|
"hasInstallScript": true,
|
|
1130
1041
|
"license": "Apache-2.0",
|
|
1131
1042
|
"dependencies": {
|
|
@@ -1133,10 +1044,11 @@
|
|
|
1133
1044
|
"@appium/support": "^4.0.0",
|
|
1134
1045
|
"@babel/runtime": "^7.0.0",
|
|
1135
1046
|
"@xmldom/xmldom": "^0.x",
|
|
1047
|
+
"appium-adb": "^9.14.1",
|
|
1136
1048
|
"asyncbox": "^2.0.2",
|
|
1137
1049
|
"axios": "^1.x",
|
|
1138
1050
|
"bluebird": "^3.5.1",
|
|
1139
|
-
"compare-versions": "^
|
|
1051
|
+
"compare-versions": "^6.0.0",
|
|
1140
1052
|
"fancy-log": "^2.0.0",
|
|
1141
1053
|
"lodash": "^4.17.4",
|
|
1142
1054
|
"semver": "^7.0.0",
|
|
@@ -1160,7 +1072,7 @@
|
|
|
1160
1072
|
}
|
|
1161
1073
|
},
|
|
1162
1074
|
"node_modules/appium-chromedriver/node_modules/semver": {
|
|
1163
|
-
"version": "7.5.
|
|
1075
|
+
"version": "7.5.4",
|
|
1164
1076
|
"license": "ISC",
|
|
1165
1077
|
"dependencies": {
|
|
1166
1078
|
"lru-cache": "^6.0.0"
|
|
@@ -1215,6 +1127,10 @@
|
|
|
1215
1127
|
"node": ">= 6"
|
|
1216
1128
|
}
|
|
1217
1129
|
},
|
|
1130
|
+
"node_modules/archiver-utils/node_modules/isarray": {
|
|
1131
|
+
"version": "1.0.0",
|
|
1132
|
+
"license": "MIT"
|
|
1133
|
+
},
|
|
1218
1134
|
"node_modules/archiver-utils/node_modules/readable-stream": {
|
|
1219
1135
|
"version": "2.3.8",
|
|
1220
1136
|
"license": "MIT",
|
|
@@ -1240,7 +1156,7 @@
|
|
|
1240
1156
|
}
|
|
1241
1157
|
},
|
|
1242
1158
|
"node_modules/are-we-there-yet": {
|
|
1243
|
-
"version": "4.0.
|
|
1159
|
+
"version": "4.0.1",
|
|
1244
1160
|
"license": "ISC",
|
|
1245
1161
|
"dependencies": {
|
|
1246
1162
|
"delegates": "^1.0.0",
|
|
@@ -1273,13 +1189,14 @@
|
|
|
1273
1189
|
}
|
|
1274
1190
|
},
|
|
1275
1191
|
"node_modules/are-we-there-yet/node_modules/readable-stream": {
|
|
1276
|
-
"version": "4.4.
|
|
1192
|
+
"version": "4.4.2",
|
|
1277
1193
|
"license": "MIT",
|
|
1278
1194
|
"dependencies": {
|
|
1279
1195
|
"abort-controller": "^3.0.0",
|
|
1280
1196
|
"buffer": "^6.0.3",
|
|
1281
1197
|
"events": "^3.3.0",
|
|
1282
|
-
"process": "^0.11.10"
|
|
1198
|
+
"process": "^0.11.10",
|
|
1199
|
+
"string_decoder": "^1.3.0"
|
|
1283
1200
|
},
|
|
1284
1201
|
"engines": {
|
|
1285
1202
|
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
|
|
@@ -1537,17 +1454,6 @@
|
|
|
1537
1454
|
"license": "ISC",
|
|
1538
1455
|
"optional": true
|
|
1539
1456
|
},
|
|
1540
|
-
"node_modules/cli-cursor": {
|
|
1541
|
-
"version": "3.1.0",
|
|
1542
|
-
"extraneous": true,
|
|
1543
|
-
"license": "MIT",
|
|
1544
|
-
"dependencies": {
|
|
1545
|
-
"restore-cursor": "^3.1.0"
|
|
1546
|
-
},
|
|
1547
|
-
"engines": {
|
|
1548
|
-
"node": ">=8"
|
|
1549
|
-
}
|
|
1550
|
-
},
|
|
1551
1457
|
"node_modules/cli-spinners": {
|
|
1552
1458
|
"version": "2.9.0",
|
|
1553
1459
|
"extraneous": true,
|
|
@@ -1690,7 +1596,7 @@
|
|
|
1690
1596
|
}
|
|
1691
1597
|
},
|
|
1692
1598
|
"node_modules/compare-versions": {
|
|
1693
|
-
"version": "
|
|
1599
|
+
"version": "6.1.0",
|
|
1694
1600
|
"license": "MIT"
|
|
1695
1601
|
},
|
|
1696
1602
|
"node_modules/compress-commons": {
|
|
@@ -1881,7 +1787,7 @@
|
|
|
1881
1787
|
}
|
|
1882
1788
|
},
|
|
1883
1789
|
"node_modules/detect-libc": {
|
|
1884
|
-
"version": "2.0.
|
|
1790
|
+
"version": "2.0.2",
|
|
1885
1791
|
"license": "Apache-2.0",
|
|
1886
1792
|
"optional": true,
|
|
1887
1793
|
"engines": {
|
|
@@ -2267,7 +2173,7 @@
|
|
|
2267
2173
|
}
|
|
2268
2174
|
},
|
|
2269
2175
|
"node_modules/gauge/node_modules/signal-exit": {
|
|
2270
|
-
"version": "4.0
|
|
2176
|
+
"version": "4.1.0",
|
|
2271
2177
|
"license": "ISC",
|
|
2272
2178
|
"engines": {
|
|
2273
2179
|
"node": ">=14"
|
|
@@ -2470,14 +2376,14 @@
|
|
|
2470
2376
|
"license": "ISC"
|
|
2471
2377
|
},
|
|
2472
2378
|
"node_modules/ini": {
|
|
2473
|
-
"version": "
|
|
2379
|
+
"version": "4.1.1",
|
|
2474
2380
|
"license": "ISC",
|
|
2475
2381
|
"engines": {
|
|
2476
|
-
"node": "^
|
|
2382
|
+
"node": "^14.17.0 || ^16.13.0 || >=18.0.0"
|
|
2477
2383
|
}
|
|
2478
2384
|
},
|
|
2479
2385
|
"node_modules/io.appium.settings": {
|
|
2480
|
-
"version": "5.0
|
|
2386
|
+
"version": "5.1.0",
|
|
2481
2387
|
"license": "Apache-2.0",
|
|
2482
2388
|
"engines": {
|
|
2483
2389
|
"node": ">=14",
|
|
@@ -2496,7 +2402,7 @@
|
|
|
2496
2402
|
"license": "MIT"
|
|
2497
2403
|
},
|
|
2498
2404
|
"node_modules/is-core-module": {
|
|
2499
|
-
"version": "2.
|
|
2405
|
+
"version": "2.13.0",
|
|
2500
2406
|
"license": "MIT",
|
|
2501
2407
|
"dependencies": {
|
|
2502
2408
|
"has": "^1.0.3"
|
|
@@ -2541,10 +2447,6 @@
|
|
|
2541
2447
|
"url": "https://github.com/sponsors/sindresorhus"
|
|
2542
2448
|
}
|
|
2543
2449
|
},
|
|
2544
|
-
"node_modules/isarray": {
|
|
2545
|
-
"version": "1.0.0",
|
|
2546
|
-
"license": "MIT"
|
|
2547
|
-
},
|
|
2548
2450
|
"node_modules/isexe": {
|
|
2549
2451
|
"version": "2.0.0",
|
|
2550
2452
|
"license": "ISC"
|
|
@@ -2626,6 +2528,10 @@
|
|
|
2626
2528
|
"node": ">= 0.6.3"
|
|
2627
2529
|
}
|
|
2628
2530
|
},
|
|
2531
|
+
"node_modules/lazystream/node_modules/isarray": {
|
|
2532
|
+
"version": "1.0.0",
|
|
2533
|
+
"license": "MIT"
|
|
2534
|
+
},
|
|
2629
2535
|
"node_modules/lazystream/node_modules/readable-stream": {
|
|
2630
2536
|
"version": "2.3.8",
|
|
2631
2537
|
"license": "MIT",
|
|
@@ -3063,7 +2969,7 @@
|
|
|
3063
2969
|
}
|
|
3064
2970
|
},
|
|
3065
2971
|
"node_modules/node-abi/node_modules/semver": {
|
|
3066
|
-
"version": "7.5.
|
|
2972
|
+
"version": "7.5.4",
|
|
3067
2973
|
"license": "ISC",
|
|
3068
2974
|
"optional": true,
|
|
3069
2975
|
"dependencies": {
|
|
@@ -3097,7 +3003,7 @@
|
|
|
3097
3003
|
}
|
|
3098
3004
|
},
|
|
3099
3005
|
"node_modules/normalize-package-data/node_modules/semver": {
|
|
3100
|
-
"version": "5.7.
|
|
3006
|
+
"version": "5.7.2",
|
|
3101
3007
|
"license": "ISC",
|
|
3102
3008
|
"bin": {
|
|
3103
3009
|
"semver": "bin/semver"
|
|
@@ -3231,6 +3137,17 @@
|
|
|
3231
3137
|
"url": "https://github.com/chalk/chalk?sponsor=1"
|
|
3232
3138
|
}
|
|
3233
3139
|
},
|
|
3140
|
+
"node_modules/ora/node_modules/cli-cursor": {
|
|
3141
|
+
"version": "3.1.0",
|
|
3142
|
+
"extraneous": true,
|
|
3143
|
+
"license": "MIT",
|
|
3144
|
+
"dependencies": {
|
|
3145
|
+
"restore-cursor": "^3.1.0"
|
|
3146
|
+
},
|
|
3147
|
+
"engines": {
|
|
3148
|
+
"node": ">=8"
|
|
3149
|
+
}
|
|
3150
|
+
},
|
|
3234
3151
|
"node_modules/ora/node_modules/color-convert": {
|
|
3235
3152
|
"version": "2.0.1",
|
|
3236
3153
|
"extraneous": true,
|
|
@@ -3247,6 +3164,18 @@
|
|
|
3247
3164
|
"extraneous": true,
|
|
3248
3165
|
"license": "MIT"
|
|
3249
3166
|
},
|
|
3167
|
+
"node_modules/ora/node_modules/restore-cursor": {
|
|
3168
|
+
"version": "3.1.0",
|
|
3169
|
+
"extraneous": true,
|
|
3170
|
+
"license": "MIT",
|
|
3171
|
+
"dependencies": {
|
|
3172
|
+
"onetime": "^5.1.0",
|
|
3173
|
+
"signal-exit": "^3.0.2"
|
|
3174
|
+
},
|
|
3175
|
+
"engines": {
|
|
3176
|
+
"node": ">=8"
|
|
3177
|
+
}
|
|
3178
|
+
},
|
|
3250
3179
|
"node_modules/ora/node_modules/supports-color": {
|
|
3251
3180
|
"version": "7.2.0",
|
|
3252
3181
|
"extraneous": true,
|
|
@@ -3624,7 +3553,7 @@
|
|
|
3624
3553
|
}
|
|
3625
3554
|
},
|
|
3626
3555
|
"node_modules/regenerator-runtime": {
|
|
3627
|
-
"version": "0.
|
|
3556
|
+
"version": "0.14.0",
|
|
3628
3557
|
"license": "MIT"
|
|
3629
3558
|
},
|
|
3630
3559
|
"node_modules/require-directory": {
|
|
@@ -3644,10 +3573,10 @@
|
|
|
3644
3573
|
}
|
|
3645
3574
|
},
|
|
3646
3575
|
"node_modules/resolve": {
|
|
3647
|
-
"version": "1.22.
|
|
3576
|
+
"version": "1.22.4",
|
|
3648
3577
|
"license": "MIT",
|
|
3649
3578
|
"dependencies": {
|
|
3650
|
-
"is-core-module": "^2.
|
|
3579
|
+
"is-core-module": "^2.13.0",
|
|
3651
3580
|
"path-parse": "^1.0.7",
|
|
3652
3581
|
"supports-preserve-symlinks-flag": "^1.0.0"
|
|
3653
3582
|
},
|
|
@@ -3665,18 +3594,6 @@
|
|
|
3665
3594
|
"node": ">=8"
|
|
3666
3595
|
}
|
|
3667
3596
|
},
|
|
3668
|
-
"node_modules/restore-cursor": {
|
|
3669
|
-
"version": "3.1.0",
|
|
3670
|
-
"extraneous": true,
|
|
3671
|
-
"license": "MIT",
|
|
3672
|
-
"dependencies": {
|
|
3673
|
-
"onetime": "^5.1.0",
|
|
3674
|
-
"signal-exit": "^3.0.2"
|
|
3675
|
-
},
|
|
3676
|
-
"engines": {
|
|
3677
|
-
"node": ">=8"
|
|
3678
|
-
}
|
|
3679
|
-
},
|
|
3680
3597
|
"node_modules/safe-buffer": {
|
|
3681
3598
|
"version": "5.2.1",
|
|
3682
3599
|
"funding": [
|
|
@@ -3853,7 +3770,7 @@
|
|
|
3853
3770
|
}
|
|
3854
3771
|
},
|
|
3855
3772
|
"node_modules/sharp/node_modules/semver": {
|
|
3856
|
-
"version": "7.5.
|
|
3773
|
+
"version": "7.5.4",
|
|
3857
3774
|
"license": "ISC",
|
|
3858
3775
|
"optional": true,
|
|
3859
3776
|
"dependencies": {
|
|
@@ -4145,9 +4062,12 @@
|
|
|
4145
4062
|
}
|
|
4146
4063
|
},
|
|
4147
4064
|
"node_modules/triple-beam": {
|
|
4148
|
-
"version": "1.
|
|
4065
|
+
"version": "1.4.1",
|
|
4149
4066
|
"extraneous": true,
|
|
4150
|
-
"license": "MIT"
|
|
4067
|
+
"license": "MIT",
|
|
4068
|
+
"engines": {
|
|
4069
|
+
"node": ">= 14.0.0"
|
|
4070
|
+
}
|
|
4151
4071
|
},
|
|
4152
4072
|
"node_modules/truncate-utf8-bytes": {
|
|
4153
4073
|
"version": "1.0.2",
|
|
@@ -4190,7 +4110,7 @@
|
|
|
4190
4110
|
}
|
|
4191
4111
|
},
|
|
4192
4112
|
"node_modules/tslib": {
|
|
4193
|
-
"version": "2.
|
|
4113
|
+
"version": "2.6.1",
|
|
4194
4114
|
"extraneous": true,
|
|
4195
4115
|
"license": "0BSD"
|
|
4196
4116
|
},
|
|
@@ -4595,7 +4515,7 @@
|
|
|
4595
4515
|
}
|
|
4596
4516
|
},
|
|
4597
4517
|
"node_modules/xpath": {
|
|
4598
|
-
"version": "0.0.
|
|
4518
|
+
"version": "0.0.33",
|
|
4599
4519
|
"license": "MIT",
|
|
4600
4520
|
"engines": {
|
|
4601
4521
|
"node": ">=0.6.0"
|
package/package.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"automated testing",
|
|
8
8
|
"android"
|
|
9
9
|
],
|
|
10
|
-
"version": "2.
|
|
10
|
+
"version": "2.25.1",
|
|
11
11
|
"author": "Appium Contributors",
|
|
12
12
|
"license": "Apache-2.0",
|
|
13
13
|
"repository": {
|
|
@@ -123,7 +123,7 @@
|
|
|
123
123
|
"eslint-plugin-import": "^2.25.3",
|
|
124
124
|
"eslint-plugin-mocha": "^9.0.0",
|
|
125
125
|
"eslint-plugin-promise": "^6.0.0",
|
|
126
|
-
"lint-staged": "^
|
|
126
|
+
"lint-staged": "^14.0.0",
|
|
127
127
|
"mocha": "^10.0.0",
|
|
128
128
|
"pre-commit": "^1.2.2",
|
|
129
129
|
"rimraf": "^5.0.0",
|