appium-espresso-driver 2.37.3 → 2.38.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 +1 -0
- package/espresso-server/app/build/outputs/apk/androidTest/debug/app-debug-androidTest.apk +0 -0
- package/espresso-server/app/build.gradle.kts +1 -1
- package/espresso-server/app/src/androidTest/java/io/appium/espressoserver/lib/model/SourceDocument.kt +7 -1
- package/espresso-server/gradle/wrapper/gradle-wrapper.jar +0 -0
- package/espresso-server/gradle/wrapper/gradle-wrapper.properties +3 -1
- package/espresso-server/gradlew +172 -109
- package/espresso-server/gradlew.bat +9 -6
- package/npm-shrinkwrap.json +12 -12
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [2.38.1](https://github.com/appium/appium-espresso-driver/compare/v2.38.0...v2.38.1) (2024-04-12)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* Fix compose driver for compose 1.6.x method signature change ([#995](https://github.com/appium/appium-espresso-driver/issues/995)) ([41f1b8d](https://github.com/appium/appium-espresso-driver/commit/41f1b8dc313f592316e37302ffc6ceb6f9b5a7d6))
|
|
7
|
+
|
|
8
|
+
## [2.38.0](https://github.com/appium/appium-espresso-driver/compare/v2.37.3...v2.38.0) (2024-04-10)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
* Add the support of `timeZone` capability ([#994](https://github.com/appium/appium-espresso-driver/issues/994)) ([834fffe](https://github.com/appium/appium-espresso-driver/commit/834fffe6dac944a6955f0f5607c49c569a7363d2))
|
|
14
|
+
|
|
1
15
|
## [2.37.3](https://github.com/appium/appium-espresso-driver/compare/v2.37.2...v2.37.3) (2024-04-09)
|
|
2
16
|
|
|
3
17
|
|
package/README.md
CHANGED
|
@@ -189,6 +189,7 @@ Capability Name | Description
|
|
|
189
189
|
--- | ---
|
|
190
190
|
appium:disableSuppressAccessibilityService | Being set to `true` tells the instrumentation process to not suppress accessibility services during the automated test. This might be useful if your automated test needs these services. `false` by default
|
|
191
191
|
appium:disableWindowAnimation | To avoid flakiness google [recommends](https://developer.android.com/training/testing/espresso/setup#set-up-environment) to disable the window animation of the Android device under test when running espresso test. `true` by default
|
|
192
|
+
appium:timeZone | Overrides the current device's time zone since the driver version 2.38.0. This change is preserved until the next override. The time zone identifier must be a valid name from the list of [available time zone identifiers](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones), for example `Europe/Kyiv`
|
|
192
193
|
|
|
193
194
|
|
|
194
195
|
## Settings API
|
|
Binary file
|
|
@@ -4,7 +4,7 @@ plugins {
|
|
|
4
4
|
}
|
|
5
5
|
|
|
6
6
|
android {
|
|
7
|
-
compileSdk = getIntProperty("appiumCompileSdk",
|
|
7
|
+
compileSdk = getIntProperty("appiumCompileSdk", 34)
|
|
8
8
|
buildToolsVersion = getStringProperty("appiumBuildTools", "33.0.2")
|
|
9
9
|
defaultConfig {
|
|
10
10
|
// <instrumentation android:targetPackage=""/>
|
|
@@ -339,7 +339,13 @@ class SourceDocument constructor(
|
|
|
339
339
|
// e.g: "Reason: Expected exactly '1' node but found '2' nodes that satisfy: (isRoot)"
|
|
340
340
|
val result: SelectionResult = SemanticsNodeInteraction::class.declaredMemberFunctions.find { it.name == "fetchSemanticsNodes" }?.let {
|
|
341
341
|
it.isAccessible = true
|
|
342
|
-
|
|
342
|
+
// INFO: Compose API has added the method parameter in compose 1.6.x+
|
|
343
|
+
// https://cs.android.com/androidx/platform/frameworks/support/+/androidx-main:compose/ui/ui-test/src/commonMain/kotlin/androidx/compose/ui/test/SemanticsNodeInteraction.kt;l=59;bpv=1;bpt=0;drc=78d5dc8c9b42c32b0c8518c72181c19620a71c05;dlc=7aed8c7ff9c9355d5dfeb28021f8725d58dc4c6f
|
|
344
|
+
if (it.parameters.size == 4) {
|
|
345
|
+
it.call(EspressoServerRunnerTest.composeTestRule.onRoot(useUnmergedTree = true), true, null, true)
|
|
346
|
+
} else {
|
|
347
|
+
it.call(EspressoServerRunnerTest.composeTestRule.onRoot(useUnmergedTree = true), true, null)
|
|
348
|
+
}
|
|
343
349
|
} as SelectionResult
|
|
344
350
|
result.selectedNodes
|
|
345
351
|
}
|
|
Binary file
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
distributionBase=GRADLE_USER_HOME
|
|
2
2
|
distributionPath=wrapper/dists
|
|
3
|
-
distributionUrl=https\://services.gradle.org/distributions/gradle-
|
|
3
|
+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.2-bin.zip
|
|
4
|
+
networkTimeout=10000
|
|
5
|
+
validateDistributionUrl=true
|
|
4
6
|
zipStoreBase=GRADLE_USER_HOME
|
|
5
7
|
zipStorePath=wrapper/dists
|
package/espresso-server/gradlew
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
#!/
|
|
1
|
+
#!/bin/sh
|
|
2
2
|
|
|
3
3
|
#
|
|
4
|
-
# Copyright 2015 the original
|
|
4
|
+
# Copyright © 2015-2021 the original authors.
|
|
5
5
|
#
|
|
6
6
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
7
|
# you may not use this file except in compliance with the License.
|
|
@@ -17,67 +17,98 @@
|
|
|
17
17
|
#
|
|
18
18
|
|
|
19
19
|
##############################################################################
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
20
|
+
#
|
|
21
|
+
# Gradle start up script for POSIX generated by Gradle.
|
|
22
|
+
#
|
|
23
|
+
# Important for running:
|
|
24
|
+
#
|
|
25
|
+
# (1) You need a POSIX-compliant shell to run this script. If your /bin/sh is
|
|
26
|
+
# noncompliant, but you have some other compliant shell such as ksh or
|
|
27
|
+
# bash, then to run this script, type that shell name before the whole
|
|
28
|
+
# command line, like:
|
|
29
|
+
#
|
|
30
|
+
# ksh Gradle
|
|
31
|
+
#
|
|
32
|
+
# Busybox and similar reduced shells will NOT work, because this script
|
|
33
|
+
# requires all of these POSIX shell features:
|
|
34
|
+
# * functions;
|
|
35
|
+
# * expansions «$var», «${var}», «${var:-default}», «${var+SET}»,
|
|
36
|
+
# «${var#prefix}», «${var%suffix}», and «$( cmd )»;
|
|
37
|
+
# * compound commands having a testable exit status, especially «case»;
|
|
38
|
+
# * various built-in commands including «command», «set», and «ulimit».
|
|
39
|
+
#
|
|
40
|
+
# Important for patching:
|
|
41
|
+
#
|
|
42
|
+
# (2) This script targets any POSIX shell, so it avoids extensions provided
|
|
43
|
+
# by Bash, Ksh, etc; in particular arrays are avoided.
|
|
44
|
+
#
|
|
45
|
+
# The "traditional" practice of packing multiple parameters into a
|
|
46
|
+
# space-separated string is a well documented source of bugs and security
|
|
47
|
+
# problems, so this is (mostly) avoided, by progressively accumulating
|
|
48
|
+
# options in "$@", and eventually passing that to Java.
|
|
49
|
+
#
|
|
50
|
+
# Where the inherited environment variables (DEFAULT_JVM_OPTS, JAVA_OPTS,
|
|
51
|
+
# and GRADLE_OPTS) rely on word-splitting, this is performed explicitly;
|
|
52
|
+
# see the in-line comments for details.
|
|
53
|
+
#
|
|
54
|
+
# There are tweaks for specific operating systems such as AIX, CygWin,
|
|
55
|
+
# Darwin, MinGW, and NonStop.
|
|
56
|
+
#
|
|
57
|
+
# (3) This script is generated from the Groovy template
|
|
58
|
+
# https://github.com/gradle/gradle/blob/HEAD/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
|
|
59
|
+
# within the Gradle project.
|
|
60
|
+
#
|
|
61
|
+
# You can find Gradle at https://github.com/gradle/gradle/.
|
|
62
|
+
#
|
|
23
63
|
##############################################################################
|
|
24
64
|
|
|
25
65
|
# Attempt to set APP_HOME
|
|
66
|
+
|
|
26
67
|
# Resolve links: $0 may be a link
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
68
|
+
app_path=$0
|
|
69
|
+
|
|
70
|
+
# Need this for daisy-chained symlinks.
|
|
71
|
+
while
|
|
72
|
+
APP_HOME=${app_path%"${app_path##*/}"} # leaves a trailing /; empty if no leading path
|
|
73
|
+
[ -h "$app_path" ]
|
|
74
|
+
do
|
|
75
|
+
ls=$( ls -ld "$app_path" )
|
|
76
|
+
link=${ls#*' -> '}
|
|
77
|
+
case $link in #(
|
|
78
|
+
/*) app_path=$link ;; #(
|
|
79
|
+
*) app_path=$APP_HOME$link ;;
|
|
80
|
+
esac
|
|
37
81
|
done
|
|
38
|
-
SAVED="`pwd`"
|
|
39
|
-
cd "`dirname \"$PRG\"`/" >/dev/null
|
|
40
|
-
APP_HOME="`pwd -P`"
|
|
41
|
-
cd "$SAVED" >/dev/null
|
|
42
82
|
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
|
|
83
|
+
# This is normally unused
|
|
84
|
+
# shellcheck disable=SC2034
|
|
85
|
+
APP_BASE_NAME=${0##*/}
|
|
86
|
+
APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit
|
|
48
87
|
|
|
49
88
|
# Use the maximum available, or set MAX_FD != -1 to use that value.
|
|
50
|
-
MAX_FD=
|
|
89
|
+
MAX_FD=maximum
|
|
51
90
|
|
|
52
91
|
warn () {
|
|
53
92
|
echo "$*"
|
|
54
|
-
}
|
|
93
|
+
} >&2
|
|
55
94
|
|
|
56
95
|
die () {
|
|
57
96
|
echo
|
|
58
97
|
echo "$*"
|
|
59
98
|
echo
|
|
60
99
|
exit 1
|
|
61
|
-
}
|
|
100
|
+
} >&2
|
|
62
101
|
|
|
63
102
|
# OS specific support (must be 'true' or 'false').
|
|
64
103
|
cygwin=false
|
|
65
104
|
msys=false
|
|
66
105
|
darwin=false
|
|
67
106
|
nonstop=false
|
|
68
|
-
case "
|
|
69
|
-
CYGWIN* )
|
|
70
|
-
|
|
71
|
-
;;
|
|
72
|
-
|
|
73
|
-
darwin=true
|
|
74
|
-
;;
|
|
75
|
-
MINGW* )
|
|
76
|
-
msys=true
|
|
77
|
-
;;
|
|
78
|
-
NONSTOP* )
|
|
79
|
-
nonstop=true
|
|
80
|
-
;;
|
|
107
|
+
case "$( uname )" in #(
|
|
108
|
+
CYGWIN* ) cygwin=true ;; #(
|
|
109
|
+
Darwin* ) darwin=true ;; #(
|
|
110
|
+
MSYS* | MINGW* ) msys=true ;; #(
|
|
111
|
+
NONSTOP* ) nonstop=true ;;
|
|
81
112
|
esac
|
|
82
113
|
|
|
83
114
|
CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
|
|
@@ -87,9 +118,9 @@ CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
|
|
|
87
118
|
if [ -n "$JAVA_HOME" ] ; then
|
|
88
119
|
if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
|
|
89
120
|
# IBM's JDK on AIX uses strange locations for the executables
|
|
90
|
-
JAVACMD
|
|
121
|
+
JAVACMD=$JAVA_HOME/jre/sh/java
|
|
91
122
|
else
|
|
92
|
-
JAVACMD
|
|
123
|
+
JAVACMD=$JAVA_HOME/bin/java
|
|
93
124
|
fi
|
|
94
125
|
if [ ! -x "$JAVACMD" ] ; then
|
|
95
126
|
die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
|
|
@@ -98,88 +129,120 @@ Please set the JAVA_HOME variable in your environment to match the
|
|
|
98
129
|
location of your Java installation."
|
|
99
130
|
fi
|
|
100
131
|
else
|
|
101
|
-
JAVACMD=
|
|
102
|
-
|
|
132
|
+
JAVACMD=java
|
|
133
|
+
if ! command -v java >/dev/null 2>&1
|
|
134
|
+
then
|
|
135
|
+
die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
|
|
103
136
|
|
|
104
137
|
Please set the JAVA_HOME variable in your environment to match the
|
|
105
138
|
location of your Java installation."
|
|
139
|
+
fi
|
|
106
140
|
fi
|
|
107
141
|
|
|
108
142
|
# Increase the maximum file descriptors if we can.
|
|
109
|
-
if
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
143
|
+
if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then
|
|
144
|
+
case $MAX_FD in #(
|
|
145
|
+
max*)
|
|
146
|
+
# In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked.
|
|
147
|
+
# shellcheck disable=SC3045
|
|
148
|
+
MAX_FD=$( ulimit -H -n ) ||
|
|
149
|
+
warn "Could not query maximum file descriptor limit"
|
|
150
|
+
esac
|
|
151
|
+
case $MAX_FD in #(
|
|
152
|
+
'' | soft) :;; #(
|
|
153
|
+
*)
|
|
154
|
+
# In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked.
|
|
155
|
+
# shellcheck disable=SC3045
|
|
156
|
+
ulimit -n "$MAX_FD" ||
|
|
157
|
+
warn "Could not set maximum file descriptor limit to $MAX_FD"
|
|
158
|
+
esac
|
|
122
159
|
fi
|
|
123
160
|
|
|
124
|
-
#
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
161
|
+
# Collect all arguments for the java command, stacking in reverse order:
|
|
162
|
+
# * args from the command line
|
|
163
|
+
# * the main class name
|
|
164
|
+
# * -classpath
|
|
165
|
+
# * -D...appname settings
|
|
166
|
+
# * --module-path (only if needed)
|
|
167
|
+
# * DEFAULT_JVM_OPTS, JAVA_OPTS, and GRADLE_OPTS environment variables.
|
|
128
168
|
|
|
129
169
|
# For Cygwin or MSYS, switch paths to Windows format before running java
|
|
130
|
-
if
|
|
131
|
-
APP_HOME
|
|
132
|
-
CLASSPATH
|
|
133
|
-
|
|
134
|
-
JAVACMD
|
|
135
|
-
|
|
136
|
-
# We build the pattern for arguments to be converted via cygpath
|
|
137
|
-
ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
|
|
138
|
-
SEP=""
|
|
139
|
-
for dir in $ROOTDIRSRAW ; do
|
|
140
|
-
ROOTDIRS="$ROOTDIRS$SEP$dir"
|
|
141
|
-
SEP="|"
|
|
142
|
-
done
|
|
143
|
-
OURCYGPATTERN="(^($ROOTDIRS))"
|
|
144
|
-
# Add a user-defined pattern to the cygpath arguments
|
|
145
|
-
if [ "$GRADLE_CYGPATTERN" != "" ] ; then
|
|
146
|
-
OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
|
|
147
|
-
fi
|
|
170
|
+
if "$cygwin" || "$msys" ; then
|
|
171
|
+
APP_HOME=$( cygpath --path --mixed "$APP_HOME" )
|
|
172
|
+
CLASSPATH=$( cygpath --path --mixed "$CLASSPATH" )
|
|
173
|
+
|
|
174
|
+
JAVACMD=$( cygpath --unix "$JAVACMD" )
|
|
175
|
+
|
|
148
176
|
# Now convert the arguments - kludge to limit ourselves to /bin/sh
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
177
|
+
for arg do
|
|
178
|
+
if
|
|
179
|
+
case $arg in #(
|
|
180
|
+
-*) false ;; # don't mess with options #(
|
|
181
|
+
/?*) t=${arg#/} t=/${t%%/*} # looks like a POSIX filepath
|
|
182
|
+
[ -e "$t" ] ;; #(
|
|
183
|
+
*) false ;;
|
|
184
|
+
esac
|
|
185
|
+
then
|
|
186
|
+
arg=$( cygpath --path --ignore --mixed "$arg" )
|
|
158
187
|
fi
|
|
159
|
-
|
|
188
|
+
# Roll the args list around exactly as many times as the number of
|
|
189
|
+
# args, so each arg winds up back in the position where it started, but
|
|
190
|
+
# possibly modified.
|
|
191
|
+
#
|
|
192
|
+
# NB: a `for` loop captures its iteration list before it begins, so
|
|
193
|
+
# changing the positional parameters here affects neither the number of
|
|
194
|
+
# iterations, nor the values presented in `arg`.
|
|
195
|
+
shift # remove old arg
|
|
196
|
+
set -- "$@" "$arg" # push replacement arg
|
|
160
197
|
done
|
|
161
|
-
case $i in
|
|
162
|
-
0) set -- ;;
|
|
163
|
-
1) set -- "$args0" ;;
|
|
164
|
-
2) set -- "$args0" "$args1" ;;
|
|
165
|
-
3) set -- "$args0" "$args1" "$args2" ;;
|
|
166
|
-
4) set -- "$args0" "$args1" "$args2" "$args3" ;;
|
|
167
|
-
5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
|
|
168
|
-
6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
|
|
169
|
-
7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
|
|
170
|
-
8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
|
|
171
|
-
9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
|
|
172
|
-
esac
|
|
173
198
|
fi
|
|
174
199
|
|
|
175
|
-
# Escape application args
|
|
176
|
-
save () {
|
|
177
|
-
for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done
|
|
178
|
-
echo " "
|
|
179
|
-
}
|
|
180
|
-
APP_ARGS=`save "$@"`
|
|
181
200
|
|
|
182
|
-
#
|
|
183
|
-
|
|
201
|
+
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
|
|
202
|
+
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
|
|
203
|
+
|
|
204
|
+
# Collect all arguments for the java command;
|
|
205
|
+
# * $DEFAULT_JVM_OPTS, $JAVA_OPTS, and $GRADLE_OPTS can contain fragments of
|
|
206
|
+
# shell script including quotes and variable substitutions, so put them in
|
|
207
|
+
# double quotes to make sure that they get re-expanded; and
|
|
208
|
+
# * put everything else in single quotes, so that it's not re-expanded.
|
|
209
|
+
|
|
210
|
+
set -- \
|
|
211
|
+
"-Dorg.gradle.appname=$APP_BASE_NAME" \
|
|
212
|
+
-classpath "$CLASSPATH" \
|
|
213
|
+
org.gradle.wrapper.GradleWrapperMain \
|
|
214
|
+
"$@"
|
|
215
|
+
|
|
216
|
+
# Stop when "xargs" is not available.
|
|
217
|
+
if ! command -v xargs >/dev/null 2>&1
|
|
218
|
+
then
|
|
219
|
+
die "xargs is not available"
|
|
220
|
+
fi
|
|
221
|
+
|
|
222
|
+
# Use "xargs" to parse quoted args.
|
|
223
|
+
#
|
|
224
|
+
# With -n1 it outputs one arg per line, with the quotes and backslashes removed.
|
|
225
|
+
#
|
|
226
|
+
# In Bash we could simply go:
|
|
227
|
+
#
|
|
228
|
+
# readarray ARGS < <( xargs -n1 <<<"$var" ) &&
|
|
229
|
+
# set -- "${ARGS[@]}" "$@"
|
|
230
|
+
#
|
|
231
|
+
# but POSIX shell has neither arrays nor command substitution, so instead we
|
|
232
|
+
# post-process each arg (as a line of input to sed) to backslash-escape any
|
|
233
|
+
# character that might be a shell metacharacter, then use eval to reverse
|
|
234
|
+
# that process (while maintaining the separation between arguments), and wrap
|
|
235
|
+
# the whole thing up as a single "set" statement.
|
|
236
|
+
#
|
|
237
|
+
# This will of course break if any of these variables contains a newline or
|
|
238
|
+
# an unmatched quote.
|
|
239
|
+
#
|
|
240
|
+
|
|
241
|
+
eval "set -- $(
|
|
242
|
+
printf '%s\n' "$DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS" |
|
|
243
|
+
xargs -n1 |
|
|
244
|
+
sed ' s~[^-[:alnum:]+,./:=@_]~\\&~g; ' |
|
|
245
|
+
tr '\n' ' '
|
|
246
|
+
)" '"$@"'
|
|
184
247
|
|
|
185
248
|
exec "$JAVACMD" "$@"
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
@rem limitations under the License.
|
|
15
15
|
@rem
|
|
16
16
|
|
|
17
|
-
@if "%DEBUG%"
|
|
17
|
+
@if "%DEBUG%"=="" @echo off
|
|
18
18
|
@rem ##########################################################################
|
|
19
19
|
@rem
|
|
20
20
|
@rem Gradle startup script for Windows
|
|
@@ -25,7 +25,8 @@
|
|
|
25
25
|
if "%OS%"=="Windows_NT" setlocal
|
|
26
26
|
|
|
27
27
|
set DIRNAME=%~dp0
|
|
28
|
-
if "%DIRNAME%"
|
|
28
|
+
if "%DIRNAME%"=="" set DIRNAME=.
|
|
29
|
+
@rem This is normally unused
|
|
29
30
|
set APP_BASE_NAME=%~n0
|
|
30
31
|
set APP_HOME=%DIRNAME%
|
|
31
32
|
|
|
@@ -40,7 +41,7 @@ if defined JAVA_HOME goto findJavaFromJavaHome
|
|
|
40
41
|
|
|
41
42
|
set JAVA_EXE=java.exe
|
|
42
43
|
%JAVA_EXE% -version >NUL 2>&1
|
|
43
|
-
if
|
|
44
|
+
if %ERRORLEVEL% equ 0 goto execute
|
|
44
45
|
|
|
45
46
|
echo.
|
|
46
47
|
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
|
|
@@ -75,13 +76,15 @@ set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
|
|
|
75
76
|
|
|
76
77
|
:end
|
|
77
78
|
@rem End local scope for the variables with windows NT shell
|
|
78
|
-
if
|
|
79
|
+
if %ERRORLEVEL% equ 0 goto mainEnd
|
|
79
80
|
|
|
80
81
|
:fail
|
|
81
82
|
rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
|
|
82
83
|
rem the _cmd.exe /c_ return code!
|
|
83
|
-
|
|
84
|
-
|
|
84
|
+
set EXIT_CODE=%ERRORLEVEL%
|
|
85
|
+
if %EXIT_CODE% equ 0 set EXIT_CODE=1
|
|
86
|
+
if not ""=="%GRADLE_EXIT_CONSOLE%" exit %EXIT_CODE%
|
|
87
|
+
exit /b %EXIT_CODE%
|
|
85
88
|
|
|
86
89
|
:mainEnd
|
|
87
90
|
if "%OS%"=="Windows_NT" endlocal
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "appium-espresso-driver",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.38.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.38.1",
|
|
10
10
|
"license": "Apache-2.0",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"appium-adb": "^12.0.0",
|
|
13
|
-
"appium-android-driver": "^9.0
|
|
13
|
+
"appium-android-driver": "^9.1.0",
|
|
14
14
|
"asyncbox": "^3.0.0",
|
|
15
15
|
"bluebird": "^3.5.0",
|
|
16
16
|
"io.appium.settings": "^5.7.2",
|
|
@@ -611,9 +611,9 @@
|
|
|
611
611
|
}
|
|
612
612
|
},
|
|
613
613
|
"node_modules/@types/node": {
|
|
614
|
-
"version": "20.12.
|
|
615
|
-
"resolved": "https://registry.npmjs.org/@types/node/-/node-20.12.
|
|
616
|
-
"integrity": "sha512-
|
|
614
|
+
"version": "20.12.7",
|
|
615
|
+
"resolved": "https://registry.npmjs.org/@types/node/-/node-20.12.7.tgz",
|
|
616
|
+
"integrity": "sha512-wq0cICSkRLVaf3UGLMGItu/PtdY7oaXaI/RVU+xliKVOtRna3PRY57ZDfztpDL0n11vfymMUnXv8QwYCO7L1wg==",
|
|
617
617
|
"dependencies": {
|
|
618
618
|
"undici-types": "~5.26.4"
|
|
619
619
|
}
|
|
@@ -830,9 +830,9 @@
|
|
|
830
830
|
}
|
|
831
831
|
},
|
|
832
832
|
"node_modules/appium-chromedriver": {
|
|
833
|
-
"version": "5.6.
|
|
834
|
-
"resolved": "https://registry.npmjs.org/appium-chromedriver/-/appium-chromedriver-5.6.
|
|
835
|
-
"integrity": "sha512-
|
|
833
|
+
"version": "5.6.43",
|
|
834
|
+
"resolved": "https://registry.npmjs.org/appium-chromedriver/-/appium-chromedriver-5.6.43.tgz",
|
|
835
|
+
"integrity": "sha512-kAOjs1guO9YxUVDAwvbokHNDMnyf9ugwpUmf1RZyDZsAopgZOwdzk7niHmH0MeO7DQPDi7Cqdf3nEAbwT5dADg==",
|
|
836
836
|
"hasInstallScript": true,
|
|
837
837
|
"dependencies": {
|
|
838
838
|
"@appium/base-driver": "^9.1.0",
|
|
@@ -3730,9 +3730,9 @@
|
|
|
3730
3730
|
}
|
|
3731
3731
|
},
|
|
3732
3732
|
"node_modules/typescript": {
|
|
3733
|
-
"version": "5.4.
|
|
3734
|
-
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.4.
|
|
3735
|
-
"integrity": "sha512-
|
|
3733
|
+
"version": "5.4.5",
|
|
3734
|
+
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.4.5.tgz",
|
|
3735
|
+
"integrity": "sha512-vcI4UpRgg81oIRUFwR0WSIHKt11nJ7SAVlYNIu+QpqeyXP+gpQJy/Z4+F0aGxSE4MqwjyXvW/TzgkLAx2AGHwQ==",
|
|
3736
3736
|
"bin": {
|
|
3737
3737
|
"tsc": "bin/tsc",
|
|
3738
3738
|
"tsserver": "bin/tsserver"
|
package/package.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"automated testing",
|
|
8
8
|
"android"
|
|
9
9
|
],
|
|
10
|
-
"version": "2.
|
|
10
|
+
"version": "2.38.1",
|
|
11
11
|
"author": "Appium Contributors",
|
|
12
12
|
"license": "Apache-2.0",
|
|
13
13
|
"repository": {
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
],
|
|
74
74
|
"dependencies": {
|
|
75
75
|
"appium-adb": "^12.0.0",
|
|
76
|
-
"appium-android-driver": "^9.0
|
|
76
|
+
"appium-android-driver": "^9.1.0",
|
|
77
77
|
"asyncbox": "^3.0.0",
|
|
78
78
|
"bluebird": "^3.5.0",
|
|
79
79
|
"io.appium.settings": "^5.7.2",
|