detox 20.25.0 → 20.25.1
Sign up to get free protection for your applications and to get access to all the features.
- package/Detox-android/com/wix/detox/{20.25.0/detox-20.25.0-sources.jar → 20.25.1/detox-20.25.1-sources.jar} +0 -0
- package/Detox-android/com/wix/detox/20.25.1/detox-20.25.1-sources.jar.md5 +1 -0
- package/Detox-android/com/wix/detox/20.25.1/detox-20.25.1-sources.jar.sha1 +1 -0
- package/Detox-android/com/wix/detox/20.25.1/detox-20.25.1-sources.jar.sha256 +1 -0
- package/Detox-android/com/wix/detox/20.25.1/detox-20.25.1-sources.jar.sha512 +1 -0
- package/Detox-android/com/wix/detox/{20.25.0/detox-20.25.0.pom → 20.25.1/detox-20.25.1.pom} +1 -1
- package/Detox-android/com/wix/detox/20.25.1/detox-20.25.1.pom.md5 +1 -0
- package/Detox-android/com/wix/detox/20.25.1/detox-20.25.1.pom.sha1 +1 -0
- package/Detox-android/com/wix/detox/20.25.1/detox-20.25.1.pom.sha256 +1 -0
- package/Detox-android/com/wix/detox/20.25.1/detox-20.25.1.pom.sha512 +1 -0
- package/Detox-android/com/wix/detox/maven-metadata.xml +4 -4
- package/Detox-android/com/wix/detox/maven-metadata.xml.md5 +1 -1
- package/Detox-android/com/wix/detox/maven-metadata.xml.sha1 +1 -1
- package/Detox-android/com/wix/detox/maven-metadata.xml.sha256 +1 -1
- package/Detox-android/com/wix/detox/maven-metadata.xml.sha512 +1 -1
- package/Detox-android/com/wix/detox-legacy/{20.25.0/detox-legacy-20.25.0-sources.jar → 20.25.1/detox-legacy-20.25.1-sources.jar} +0 -0
- package/Detox-android/com/wix/detox-legacy/20.25.1/detox-legacy-20.25.1-sources.jar.md5 +1 -0
- package/Detox-android/com/wix/detox-legacy/20.25.1/detox-legacy-20.25.1-sources.jar.sha1 +1 -0
- package/Detox-android/com/wix/detox-legacy/20.25.1/detox-legacy-20.25.1-sources.jar.sha256 +1 -0
- package/Detox-android/com/wix/detox-legacy/20.25.1/detox-legacy-20.25.1-sources.jar.sha512 +1 -0
- package/Detox-android/com/wix/detox-legacy/{20.25.0/detox-legacy-20.25.0.pom → 20.25.1/detox-legacy-20.25.1.pom} +1 -1
- package/Detox-android/com/wix/detox-legacy/20.25.1/detox-legacy-20.25.1.pom.md5 +1 -0
- package/Detox-android/com/wix/detox-legacy/20.25.1/detox-legacy-20.25.1.pom.sha1 +1 -0
- package/Detox-android/com/wix/detox-legacy/20.25.1/detox-legacy-20.25.1.pom.sha256 +1 -0
- package/Detox-android/com/wix/detox-legacy/20.25.1/detox-legacy-20.25.1.pom.sha512 +1 -0
- package/Detox-android/com/wix/detox-legacy/maven-metadata.xml +4 -4
- package/Detox-android/com/wix/detox-legacy/maven-metadata.xml.md5 +1 -1
- package/Detox-android/com/wix/detox-legacy/maven-metadata.xml.sha1 +1 -1
- package/Detox-android/com/wix/detox-legacy/maven-metadata.xml.sha256 +1 -1
- package/Detox-android/com/wix/detox-legacy/maven-metadata.xml.sha512 +1 -1
- package/Detox-ios-framework.tbz +0 -0
- package/Detox-ios-src.tbz +0 -0
- package/Detox-ios-xcuitest.tbz +0 -0
- package/package.json +2 -2
- package/src/devices/allocation/drivers/android/genycloud/exec/GenyCloudExec.js +1 -1
- package/src/devices/allocation/drivers/android/genycloud/services/GenyInstanceLifecycleService.js +27 -3
- package/src/devices/allocation/factories/android.js +1 -1
- package/src/devices/common/drivers/android/exec/ADB.js +2 -6
- package/Detox-android/com/wix/detox/20.25.0/detox-20.25.0-sources.jar.md5 +0 -1
- package/Detox-android/com/wix/detox/20.25.0/detox-20.25.0-sources.jar.sha1 +0 -1
- package/Detox-android/com/wix/detox/20.25.0/detox-20.25.0-sources.jar.sha256 +0 -1
- package/Detox-android/com/wix/detox/20.25.0/detox-20.25.0-sources.jar.sha512 +0 -1
- package/Detox-android/com/wix/detox/20.25.0/detox-20.25.0.pom.md5 +0 -1
- package/Detox-android/com/wix/detox/20.25.0/detox-20.25.0.pom.sha1 +0 -1
- package/Detox-android/com/wix/detox/20.25.0/detox-20.25.0.pom.sha256 +0 -1
- package/Detox-android/com/wix/detox/20.25.0/detox-20.25.0.pom.sha512 +0 -1
- package/Detox-android/com/wix/detox-legacy/20.25.0/detox-legacy-20.25.0-sources.jar.md5 +0 -1
- package/Detox-android/com/wix/detox-legacy/20.25.0/detox-legacy-20.25.0-sources.jar.sha1 +0 -1
- package/Detox-android/com/wix/detox-legacy/20.25.0/detox-legacy-20.25.0-sources.jar.sha256 +0 -1
- package/Detox-android/com/wix/detox-legacy/20.25.0/detox-legacy-20.25.0-sources.jar.sha512 +0 -1
- package/Detox-android/com/wix/detox-legacy/20.25.0/detox-legacy-20.25.0.pom.md5 +0 -1
- package/Detox-android/com/wix/detox-legacy/20.25.0/detox-legacy-20.25.0.pom.sha1 +0 -1
- package/Detox-android/com/wix/detox-legacy/20.25.0/detox-legacy-20.25.0.pom.sha256 +0 -1
- package/Detox-android/com/wix/detox-legacy/20.25.0/detox-legacy-20.25.0.pom.sha512 +0 -1
- /package/Detox-android/com/wix/detox/{20.25.0/detox-20.25.0.aar → 20.25.1/detox-20.25.1.aar} +0 -0
- /package/Detox-android/com/wix/detox/{20.25.0/detox-20.25.0.aar.md5 → 20.25.1/detox-20.25.1.aar.md5} +0 -0
- /package/Detox-android/com/wix/detox/{20.25.0/detox-20.25.0.aar.sha1 → 20.25.1/detox-20.25.1.aar.sha1} +0 -0
- /package/Detox-android/com/wix/detox/{20.25.0/detox-20.25.0.aar.sha256 → 20.25.1/detox-20.25.1.aar.sha256} +0 -0
- /package/Detox-android/com/wix/detox/{20.25.0/detox-20.25.0.aar.sha512 → 20.25.1/detox-20.25.1.aar.sha512} +0 -0
- /package/Detox-android/com/wix/detox-legacy/{20.25.0/detox-legacy-20.25.0.aar → 20.25.1/detox-legacy-20.25.1.aar} +0 -0
- /package/Detox-android/com/wix/detox-legacy/{20.25.0/detox-legacy-20.25.0.aar.md5 → 20.25.1/detox-legacy-20.25.1.aar.md5} +0 -0
- /package/Detox-android/com/wix/detox-legacy/{20.25.0/detox-legacy-20.25.0.aar.sha1 → 20.25.1/detox-legacy-20.25.1.aar.sha1} +0 -0
- /package/Detox-android/com/wix/detox-legacy/{20.25.0/detox-legacy-20.25.0.aar.sha256 → 20.25.1/detox-legacy-20.25.1.aar.sha256} +0 -0
- /package/Detox-android/com/wix/detox-legacy/{20.25.0/detox-legacy-20.25.0.aar.sha512 → 20.25.1/detox-legacy-20.25.1.aar.sha512} +0 -0
Binary file
|
@@ -0,0 +1 @@
|
|
1
|
+
ef152eed43d99abecc781d2c5581ed2c
|
@@ -0,0 +1 @@
|
|
1
|
+
a00c63f1d6864fe3684aabdc4addaf251db4f12d
|
@@ -0,0 +1 @@
|
|
1
|
+
9d2842e3781dc8085a80c2029c5d63cac9b382181371e3d715e71248ae81e619
|
@@ -0,0 +1 @@
|
|
1
|
+
9f993e109ac46d9ec4132ad900b0eee9e4f5604909c69496ebc364ba1bc32ceb19fca9b5adbfe6a9e61c4c489e6a21e61efd58ec6a0602a4c8dd35c0f1897c72
|
@@ -3,7 +3,7 @@
|
|
3
3
|
<modelVersion>4.0.0</modelVersion>
|
4
4
|
<groupId>com.wix</groupId>
|
5
5
|
<artifactId>detox</artifactId>
|
6
|
-
<version>20.25.
|
6
|
+
<version>20.25.1</version>
|
7
7
|
<packaging>aar</packaging>
|
8
8
|
<name>Detox</name>
|
9
9
|
<description>Gray box end-to-end testing and automation library for mobile apps</description>
|
@@ -0,0 +1 @@
|
|
1
|
+
5a378650b3fb1fc751bad1924a05e988
|
@@ -0,0 +1 @@
|
|
1
|
+
a2d652e833f0d7a91a8f05e2232a4ca964992a66
|
@@ -0,0 +1 @@
|
|
1
|
+
97b5030e5db6c3d762c9a24ecc11a6989f4079591ddab23d2b8c67e4ac20bfb7
|
@@ -0,0 +1 @@
|
|
1
|
+
37ab0fe6dec997c70fdff5e0f76acf744c487d150a70954bffa0467042c861b2bfe3711d53762c1ea0efce1a6fc8c29b82bfb822435cac2756474fcec24c4d5e
|
@@ -3,11 +3,11 @@
|
|
3
3
|
<groupId>com.wix</groupId>
|
4
4
|
<artifactId>detox</artifactId>
|
5
5
|
<versioning>
|
6
|
-
<latest>20.25.
|
7
|
-
<release>20.25.
|
6
|
+
<latest>20.25.1</latest>
|
7
|
+
<release>20.25.1</release>
|
8
8
|
<versions>
|
9
|
-
<version>20.25.
|
9
|
+
<version>20.25.1</version>
|
10
10
|
</versions>
|
11
|
-
<lastUpdated>
|
11
|
+
<lastUpdated>20240716121904</lastUpdated>
|
12
12
|
</versioning>
|
13
13
|
</metadata>
|
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
275ff0123e1dbaa1aed3a7e91e9ae762
|
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
f986a8170fefe76b9f4efd0b755aaccde8b51bdd
|
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
779e3063806e639cd380893e02fe5a902fbdad0f12d6eb06b09819f07a863272
|
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
8c0fae16887da6da5fa405a62587e05612fa0b27a8d4e047419dfeb0bf3889b83c4c367941056b92b309b327c3f9aa28f1b26cc882ce6dda96ec2564a0836089
|
Binary file
|
@@ -0,0 +1 @@
|
|
1
|
+
5faf79ea736df2cf512a937df79bec2a
|
@@ -0,0 +1 @@
|
|
1
|
+
834508470595778511d3f3b564de2d31413e57ff
|
@@ -0,0 +1 @@
|
|
1
|
+
3d5e951f611b30a5d85d3535db3152824f019c4cd99972ff304b76d0c46b1038
|
@@ -0,0 +1 @@
|
|
1
|
+
ff7bf763835d49aa17a6ba58b738cf47e5577038c10de0e6af0c629be076970895540b02ee8ba9d431c277f28aa1458c617d95b9df0adb0a32d0fa3afb67972c
|
@@ -3,7 +3,7 @@
|
|
3
3
|
<modelVersion>4.0.0</modelVersion>
|
4
4
|
<groupId>com.wix</groupId>
|
5
5
|
<artifactId>detox-legacy</artifactId>
|
6
|
-
<version>20.25.
|
6
|
+
<version>20.25.1</version>
|
7
7
|
<packaging>aar</packaging>
|
8
8
|
<name>Detox</name>
|
9
9
|
<description>Gray box end-to-end testing and automation library for mobile apps</description>
|
@@ -0,0 +1 @@
|
|
1
|
+
275a026938b603bc63c62aa9105660ab
|
@@ -0,0 +1 @@
|
|
1
|
+
38f52f7d5a0616f1ea0c7fd7831197ebda6b4df9
|
@@ -0,0 +1 @@
|
|
1
|
+
92ee50857ac9fb128bd30d6079ed09ef71e53526fe45581baec69d72bc05c5a4
|
@@ -0,0 +1 @@
|
|
1
|
+
e6ca3c09f9026d4e0c54b71f8b1c78506fc6a2005c3f41e6df65b4f8f36fb4bea770cca153c887f140ce338200397777168a55e52bd51c4894dbe11677d422b6
|
@@ -3,11 +3,11 @@
|
|
3
3
|
<groupId>com.wix</groupId>
|
4
4
|
<artifactId>detox-legacy</artifactId>
|
5
5
|
<versioning>
|
6
|
-
<latest>20.25.
|
7
|
-
<release>20.25.
|
6
|
+
<latest>20.25.1</latest>
|
7
|
+
<release>20.25.1</release>
|
8
8
|
<versions>
|
9
|
-
<version>20.25.
|
9
|
+
<version>20.25.1</version>
|
10
10
|
</versions>
|
11
|
-
<lastUpdated>
|
11
|
+
<lastUpdated>20240716121940</lastUpdated>
|
12
12
|
</versioning>
|
13
13
|
</metadata>
|
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
39a5211574c6847cfa8ba0c843d19419
|
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
03853c1e7b6181d8a82d09756d5ffeb0894d2883
|
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
3c07d8c65169a75189c32e72f195d09399c059a0a42a5d42e0a54e06a9c1af8e
|
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
01a09bb5c4de685f4a81bb7b11d211230808546068b486ca51e3889dfb74ad278c18f7a330c6b1898d73a8b993d91884e36336fcb84054e1a923b93f6578613f
|
package/Detox-ios-framework.tbz
CHANGED
Binary file
|
package/Detox-ios-src.tbz
CHANGED
Binary file
|
package/Detox-ios-xcuitest.tbz
CHANGED
Binary file
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "detox",
|
3
3
|
"description": "E2E tests and automation for mobile",
|
4
|
-
"version": "20.25.
|
4
|
+
"version": "20.25.1",
|
5
5
|
"bin": {
|
6
6
|
"detox": "local-cli/cli.js"
|
7
7
|
},
|
@@ -115,5 +115,5 @@
|
|
115
115
|
"browserslist": [
|
116
116
|
"node 14"
|
117
117
|
],
|
118
|
-
"gitHead": "
|
118
|
+
"gitHead": "f25468f5b0cf6e2895fb6b51b96ffc14263f2084"
|
119
119
|
}
|
package/src/devices/allocation/drivers/android/genycloud/services/GenyInstanceLifecycleService.js
CHANGED
@@ -1,8 +1,16 @@
|
|
1
|
+
const log = require('../../../../../../utils/logger').child({ cat: 'device' });
|
2
|
+
const retry = require('../../../../../../utils/retry');
|
3
|
+
|
1
4
|
const Instance = require('./dto/GenyInstance');
|
2
5
|
|
3
6
|
class GenyInstanceLifecycleService {
|
4
|
-
|
7
|
+
/**
|
8
|
+
* @param { import('../exec/GenyCloudExec') } genyCloudExec
|
9
|
+
* @param { import('../../../../../common/drivers/android/exec/ADB') } adb
|
10
|
+
*/
|
11
|
+
constructor(genyCloudExec, adb) {
|
5
12
|
this._genyCloudExec = genyCloudExec;
|
13
|
+
this._adb = adb;
|
6
14
|
}
|
7
15
|
|
8
16
|
async createInstance(recipeUUID, instanceName) {
|
@@ -10,8 +18,24 @@ class GenyInstanceLifecycleService {
|
|
10
18
|
return new Instance(result.instance);
|
11
19
|
}
|
12
20
|
|
13
|
-
async adbConnectInstance(instanceUUID)
|
14
|
-
const
|
21
|
+
async adbConnectInstance(instanceUUID){
|
22
|
+
const doAdbConnect = async () =>
|
23
|
+
this._genyCloudExec.adbConnect(instanceUUID);
|
24
|
+
const beforeEachRetry = async () => {
|
25
|
+
try {
|
26
|
+
const { stdout } = await this._adb.devices({ retries: 0, verbosity: 'low' });
|
27
|
+
log.warn('adb-connect command failed, current ADB devices list:\n', stdout);
|
28
|
+
} catch (e) {
|
29
|
+
log.warn('adb-connect command failed; couldn\'t get the list of current devices (see error)', e);
|
30
|
+
}
|
31
|
+
return true;
|
32
|
+
};
|
33
|
+
const options = {
|
34
|
+
conditionFn: beforeEachRetry,
|
35
|
+
retries: 2,
|
36
|
+
};
|
37
|
+
|
38
|
+
const result = await retry(options, doAdbConnect);
|
15
39
|
return new Instance(result.instance);
|
16
40
|
}
|
17
41
|
|
@@ -66,7 +66,7 @@ class Genycloud extends DeviceAllocatorFactory {
|
|
66
66
|
const recipeService = new RecipesService(exec);
|
67
67
|
|
68
68
|
const InstanceLifecycleService = require('../drivers/android/genycloud/services/GenyInstanceLifecycleService');
|
69
|
-
const instanceLifecycleService = new InstanceLifecycleService(exec);
|
69
|
+
const instanceLifecycleService = new InstanceLifecycleService(exec, adb);
|
70
70
|
|
71
71
|
const RecipeQuerying = require('../drivers/android/genycloud/GenyRecipeQuerying');
|
72
72
|
const recipeQuerying = new RecipeQuerying(recipeService);
|
@@ -20,12 +20,8 @@ class ADB {
|
|
20
20
|
await this.adbCmd('', 'start-server', { retries: 0, verbosity: 'high' });
|
21
21
|
}
|
22
22
|
|
23
|
-
async
|
24
|
-
await this.adbCmd('', '
|
25
|
-
}
|
26
|
-
|
27
|
-
async devices() {
|
28
|
-
const { stdout } = await this.adbCmd('', 'devices', { verbosity: 'high' });
|
23
|
+
async devices(options) {
|
24
|
+
const { stdout } = await this.adbCmd('', 'devices', { verbosity: 'high', ...options });
|
29
25
|
/** @type {DeviceHandle[]} */
|
30
26
|
const devices = _.chain(stdout)
|
31
27
|
.trim()
|
@@ -1 +0,0 @@
|
|
1
|
-
1ef4d5de8e6a4ecba3ed72380b788a83
|
@@ -1 +0,0 @@
|
|
1
|
-
bf218e51fdffafef09dbfc843a4e78a280e65d89
|
@@ -1 +0,0 @@
|
|
1
|
-
6fc99e94e5a63dcfdec73700425a79685a1379d89894df57063ece91822a9e4d
|
@@ -1 +0,0 @@
|
|
1
|
-
78ba7a9072d2a529054068b59f43da93616ffe5bce9cb99aacded5caf0aac926a3b68afa19dac3e714cf82bb74259a1dc94bf7de277296ea6843c6417676c712
|
@@ -1 +0,0 @@
|
|
1
|
-
957806b8f4d6b7cc51959522d64dcb7f
|
@@ -1 +0,0 @@
|
|
1
|
-
feb3185877ed9e49f252ceba89b9a338a8780a7e
|
@@ -1 +0,0 @@
|
|
1
|
-
720aecc2ad5d50ce4c088fb9c22477d7e1682f19b865e64b5f3bb40f316a471d
|
@@ -1 +0,0 @@
|
|
1
|
-
aeb1ef3a386a2214a8d59b5cfd6941167a3482a2037a0578d9508791784c7687c75ff3cfc8d344d4ed475e2d25f39c588243ea3e0b49371c02ffd0f340ad7a1d
|
@@ -1 +0,0 @@
|
|
1
|
-
65c4c13e340925f4aab9a63f04e0421d
|
@@ -1 +0,0 @@
|
|
1
|
-
7fe9a252f0ff18215ca79bcae96b29b15e819711
|
@@ -1 +0,0 @@
|
|
1
|
-
aeb521a3fd006873fa3f0c7252b6fdc772d9264ede1f2ce85e3de69eafc0b136
|
@@ -1 +0,0 @@
|
|
1
|
-
73329439f480b60ffca53d8244d27883adddba2b4d18c3753b8e6247cee9499674921b522c51fd2f1a2cd59dd84448e22dc7005f8b7c047d61a7aeaf515d8924
|
@@ -1 +0,0 @@
|
|
1
|
-
20f9a40218510a8b583767d4fe5c5b2b
|
@@ -1 +0,0 @@
|
|
1
|
-
30587cdeead2f48ccc50d83c3a7e9f3f29aa3266
|
@@ -1 +0,0 @@
|
|
1
|
-
6801fa55201f5da99902aef7e9b8e769128742421215ddc0838df2b42e06f539
|
@@ -1 +0,0 @@
|
|
1
|
-
a68a395358cf5998b6f531d3845189b2c3091d2d2ad84e96557458a413a3c891d5fcab1f21fee134422463a011473dfe472353d4b7b2f1e98cccda4537634346
|
/package/Detox-android/com/wix/detox/{20.25.0/detox-20.25.0.aar → 20.25.1/detox-20.25.1.aar}
RENAMED
File without changes
|
/package/Detox-android/com/wix/detox/{20.25.0/detox-20.25.0.aar.md5 → 20.25.1/detox-20.25.1.aar.md5}
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|