detox 20.18.1 → 20.18.2
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/Detox-android/com/wix/detox/{20.18.1/detox-20.18.1-sources.jar → 20.18.2/detox-20.18.2-sources.jar} +0 -0
- package/Detox-android/com/wix/detox/20.18.2/detox-20.18.2-sources.jar.md5 +1 -0
- package/Detox-android/com/wix/detox/20.18.2/detox-20.18.2-sources.jar.sha1 +1 -0
- package/Detox-android/com/wix/detox/20.18.2/detox-20.18.2-sources.jar.sha256 +1 -0
- package/Detox-android/com/wix/detox/20.18.2/detox-20.18.2-sources.jar.sha512 +1 -0
- package/Detox-android/com/wix/detox/{20.18.1/detox-20.18.1.pom → 20.18.2/detox-20.18.2.pom} +1 -1
- package/Detox-android/com/wix/detox/20.18.2/detox-20.18.2.pom.md5 +1 -0
- package/Detox-android/com/wix/detox/20.18.2/detox-20.18.2.pom.sha1 +1 -0
- package/Detox-android/com/wix/detox/20.18.2/detox-20.18.2.pom.sha256 +1 -0
- package/Detox-android/com/wix/detox/20.18.2/detox-20.18.2.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-ios-src.tbz +0 -0
- package/Detox-ios.tbz +0 -0
- package/package.json +3 -3
- package/src/client/Client.js +6 -1
- package/src/devices/allocation/drivers/android/genycloud/exec/GenyCloudExec.js +0 -4
- package/src/devices/validation/android/GenycloudEnvValidator.js +1 -12
- package/src/devices/validation/factories/index.js +1 -4
- package/Detox-android/com/wix/detox/20.18.1/detox-20.18.1-sources.jar.md5 +0 -1
- package/Detox-android/com/wix/detox/20.18.1/detox-20.18.1-sources.jar.sha1 +0 -1
- package/Detox-android/com/wix/detox/20.18.1/detox-20.18.1-sources.jar.sha256 +0 -1
- package/Detox-android/com/wix/detox/20.18.1/detox-20.18.1-sources.jar.sha512 +0 -1
- package/Detox-android/com/wix/detox/20.18.1/detox-20.18.1.pom.md5 +0 -1
- package/Detox-android/com/wix/detox/20.18.1/detox-20.18.1.pom.sha1 +0 -1
- package/Detox-android/com/wix/detox/20.18.1/detox-20.18.1.pom.sha256 +0 -1
- package/Detox-android/com/wix/detox/20.18.1/detox-20.18.1.pom.sha512 +0 -1
- package/src/devices/allocation/drivers/android/genycloud/services/GenyAuthService.js +0 -12
- /package/Detox-android/com/wix/detox/{20.18.1/detox-20.18.1.aar → 20.18.2/detox-20.18.2.aar} +0 -0
- /package/Detox-android/com/wix/detox/{20.18.1/detox-20.18.1.aar.md5 → 20.18.2/detox-20.18.2.aar.md5} +0 -0
- /package/Detox-android/com/wix/detox/{20.18.1/detox-20.18.1.aar.sha1 → 20.18.2/detox-20.18.2.aar.sha1} +0 -0
- /package/Detox-android/com/wix/detox/{20.18.1/detox-20.18.1.aar.sha256 → 20.18.2/detox-20.18.2.aar.sha256} +0 -0
- /package/Detox-android/com/wix/detox/{20.18.1/detox-20.18.1.aar.sha512 → 20.18.2/detox-20.18.2.aar.sha512} +0 -0
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
984c2c049b5e884c6e06025f4c41d648
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
c55e64b6f6ff0785932cf6da57c75459a04a27c5
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
cf3e3fdb877a0ca8a8b8e42a4b3a7a0589a39680f6f9263dccfd036a7da8e314
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
3cb7f848f967498ac25311afb081737dfec1672eb1496bdce314ce650d5b906fa6d1fd585b5960dad4b2cfa559a309ac93f6426012b1b30f3d7460a146b8e655
|
|
@@ -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.18.
|
|
6
|
+
<version>20.18.2</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
|
+
03283b4c2d4fa96f4ca820895e260f69
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
12a874445c7e0c0d711d9de93dd1b8b5840caad3
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
e382ec27f04d8cd00a7c1101094cb0d1cd4b971b878426e8520623f4c916a03c
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
363f339e417ce2fafcee0db4ebc150d611b77989bb0d59e5a87730c62a0e15e54442ea576959b09ed009264131346796ae7199009aa37b8ee8a88cf3a2632f93
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
<groupId>com.wix</groupId>
|
|
4
4
|
<artifactId>detox</artifactId>
|
|
5
5
|
<versioning>
|
|
6
|
-
<latest>20.18.
|
|
7
|
-
<release>20.18.
|
|
6
|
+
<latest>20.18.2</latest>
|
|
7
|
+
<release>20.18.2</release>
|
|
8
8
|
<versions>
|
|
9
|
-
<version>20.18.
|
|
9
|
+
<version>20.18.2</version>
|
|
10
10
|
</versions>
|
|
11
|
-
<lastUpdated>
|
|
11
|
+
<lastUpdated>20240225122200</lastUpdated>
|
|
12
12
|
</versioning>
|
|
13
13
|
</metadata>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
c405604464b2542f3b457afbe34b0ee1
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
4bd8999479d6a183643b530b1deb9a715c7e3514
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
8269d3d5aefa06d078b597aa6c066c2c93161a071602559d1cc6737756141622
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
f0137d78293940c4937558dcd958a9efbcd4300cd01da1b37ad12c86c9327b6584806053cfdbe75ea2a9907d1a73fcf4b09d5011abdb638ce7e7a2b77af4ae5a
|
package/Detox-ios-src.tbz
CHANGED
|
Binary file
|
package/Detox-ios.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.18.
|
|
4
|
+
"version": "20.18.2",
|
|
5
5
|
"bin": {
|
|
6
6
|
"detox": "local-cli/cli.js"
|
|
7
7
|
},
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"eslint-plugin-node": "^11.1.0",
|
|
57
57
|
"eslint-plugin-unicorn": "^50.0.1",
|
|
58
58
|
"jest": "^29.6.3",
|
|
59
|
-
"jest-allure2-reporter": "^2.0.0-beta.
|
|
59
|
+
"jest-allure2-reporter": "^2.0.0-beta.9",
|
|
60
60
|
"metro-react-native-babel-preset": "0.76.8",
|
|
61
61
|
"prettier": "^3.1.1",
|
|
62
62
|
"react-native": "0.73.2",
|
|
@@ -115,5 +115,5 @@
|
|
|
115
115
|
"browserslist": [
|
|
116
116
|
"node 18"
|
|
117
117
|
],
|
|
118
|
-
"gitHead": "
|
|
118
|
+
"gitHead": "550e128c2552e6f38c509167894eedfddd2aa8d8"
|
|
119
119
|
}
|
package/src/client/Client.js
CHANGED
|
@@ -137,6 +137,10 @@ class Client {
|
|
|
137
137
|
}
|
|
138
138
|
|
|
139
139
|
async sendAction(action) {
|
|
140
|
+
if (this._pendingAppCrash) {
|
|
141
|
+
throw this._pendingAppCrash;
|
|
142
|
+
}
|
|
143
|
+
|
|
140
144
|
const { shouldQueryStatus, ...options } = this._inferSendOptions(action);
|
|
141
145
|
|
|
142
146
|
return await (shouldQueryStatus
|
|
@@ -302,6 +306,8 @@ class Client {
|
|
|
302
306
|
}
|
|
303
307
|
|
|
304
308
|
_onAppConnected() {
|
|
309
|
+
this._pendingAppCrash = null;
|
|
310
|
+
|
|
305
311
|
if (this._whenAppIsConnected.isPending()) {
|
|
306
312
|
this._whenAppIsConnected.resolve();
|
|
307
313
|
} else {
|
|
@@ -352,7 +358,6 @@ class Client {
|
|
|
352
358
|
if (this._pendingAppCrash) {
|
|
353
359
|
this._whenAppDisconnected.reject(this._pendingAppCrash);
|
|
354
360
|
this._asyncWebSocket.rejectAll(this._pendingAppCrash);
|
|
355
|
-
this._pendingAppCrash = null;
|
|
356
361
|
} else if (this._asyncWebSocket.hasPendingActions()) {
|
|
357
362
|
const error = new DetoxRuntimeError('The app has unexpectedly disconnected from Detox server.');
|
|
358
363
|
this._asyncWebSocket.rejectAll(error);
|
|
@@ -12,15 +12,13 @@ class GenycloudEnvValidator extends EnvironmentValidatorBase {
|
|
|
12
12
|
* @param authService { GenyAuthService }
|
|
13
13
|
* @param exec { GenyCloudExec }
|
|
14
14
|
*/
|
|
15
|
-
constructor({
|
|
15
|
+
constructor({ exec }) {
|
|
16
16
|
super();
|
|
17
|
-
this._authService = authService;
|
|
18
17
|
this._exec = exec;
|
|
19
18
|
}
|
|
20
19
|
|
|
21
20
|
async validate() {
|
|
22
21
|
await this._validateGmsaasVersion();
|
|
23
|
-
await this._validateGmsaasAuth();
|
|
24
22
|
}
|
|
25
23
|
|
|
26
24
|
async _validateGmsaasVersion() {
|
|
@@ -32,15 +30,6 @@ class GenycloudEnvValidator extends EnvironmentValidatorBase {
|
|
|
32
30
|
});
|
|
33
31
|
}
|
|
34
32
|
}
|
|
35
|
-
|
|
36
|
-
async _validateGmsaasAuth() {
|
|
37
|
-
if (!await this._authService.getLoginEmail()) {
|
|
38
|
-
throw new DetoxRuntimeError({
|
|
39
|
-
message: `Cannot run tests using 'android.genycloud' type devices, because Genymotion was not logged-in to!`,
|
|
40
|
-
hint: `Log-in to Genymotion-cloud by running this command (and following instructions):\n${environment.getGmsaasPath()} auth login --help`,
|
|
41
|
-
});
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
33
|
}
|
|
45
34
|
|
|
46
35
|
module.exports = GenycloudEnvValidator;
|
|
@@ -7,11 +7,8 @@ class Genycloud extends EnvValidatorFactory {
|
|
|
7
7
|
const serviceLocator = require('../../servicelocator/android');
|
|
8
8
|
const exec = serviceLocator.genycloud.exec;
|
|
9
9
|
|
|
10
|
-
const GenyAuthService = require('../../allocation/drivers/android/genycloud/services/GenyAuthService');
|
|
11
|
-
const authService = new GenyAuthService(exec);
|
|
12
|
-
|
|
13
10
|
const GenycloudEnvValidator = require('../android/GenycloudEnvValidator');
|
|
14
|
-
return new GenycloudEnvValidator({
|
|
11
|
+
return new GenycloudEnvValidator({ exec });
|
|
15
12
|
}
|
|
16
13
|
}
|
|
17
14
|
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
c164b85605ab451a8264339136ab7515
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
c0458f1c1a890a407f68cdc86948d8a3c0692b03
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
7ab31f42474f721b1002201e416904aa1804b9119b550d187098697c5a5e2ea4
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
0953ca49ab67708bbfcc64545084577a6be24f0aa63d8e1a1edee659df478785207327ae2f25e803c39e08cda7f45d3250a4c9990ba0d27e4a6e0981f68c75f1
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
641806679125eb5647b88084efa48378
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
7a802fe47b5af9ea6a4605f263a4d6dd4c6cdd50
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
1267f8c9d8c86d162ee4379848fbacc8f83f463ac706b17161bdc01f38494181
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
d9dd50f4f22f572bce5481ccc1a1d3150cb0ef263d2f38f1c22068c87f6a6922eb8447304662b3390451cd2a31abe56e77706cea5e7280b7120b8ba756e922fc
|
/package/Detox-android/com/wix/detox/{20.18.1/detox-20.18.1.aar → 20.18.2/detox-20.18.2.aar}
RENAMED
|
File without changes
|
/package/Detox-android/com/wix/detox/{20.18.1/detox-20.18.1.aar.md5 → 20.18.2/detox-20.18.2.aar.md5}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|