detox 20.18.2-smoke.0 → 20.18.2
Sign up to get free protection for your applications and to get access to all the features.
- package/Detox-android/com/wix/detox/{20.18.2-smoke.0/detox-20.18.2-smoke.0-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.2-smoke.0/detox-20.18.2-smoke.0.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/android/detox/publishing.gradle +1 -6
- package/package.json +2 -2
- 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.2-smoke.0/detox-20.18.2-smoke.0-sources.jar.md5 +0 -1
- package/Detox-android/com/wix/detox/20.18.2-smoke.0/detox-20.18.2-smoke.0-sources.jar.sha1 +0 -1
- package/Detox-android/com/wix/detox/20.18.2-smoke.0/detox-20.18.2-smoke.0-sources.jar.sha256 +0 -1
- package/Detox-android/com/wix/detox/20.18.2-smoke.0/detox-20.18.2-smoke.0-sources.jar.sha512 +0 -1
- package/Detox-android/com/wix/detox/20.18.2-smoke.0/detox-20.18.2-smoke.0.pom.md5 +0 -1
- package/Detox-android/com/wix/detox/20.18.2-smoke.0/detox-20.18.2-smoke.0.pom.sha1 +0 -1
- package/Detox-android/com/wix/detox/20.18.2-smoke.0/detox-20.18.2-smoke.0.pom.sha256 +0 -1
- package/Detox-android/com/wix/detox/20.18.2-smoke.0/detox-20.18.2-smoke.0.pom.sha512 +0 -1
- package/src/devices/allocation/drivers/android/genycloud/services/GenyAuthService.js +0 -12
- /package/Detox-android/com/wix/detox/{20.18.2-smoke.0/detox-20.18.2-smoke.0.aar → 20.18.2/detox-20.18.2.aar} +0 -0
- /package/Detox-android/com/wix/detox/{20.18.2-smoke.0/detox-20.18.2-smoke.0.aar.md5 → 20.18.2/detox-20.18.2.aar.md5} +0 -0
- /package/Detox-android/com/wix/detox/{20.18.2-smoke.0/detox-20.18.2-smoke.0.aar.sha1 → 20.18.2/detox-20.18.2.aar.sha1} +0 -0
- /package/Detox-android/com/wix/detox/{20.18.2-smoke.0/detox-20.18.2-smoke.0.aar.sha256 → 20.18.2/detox-20.18.2.aar.sha256} +0 -0
- /package/Detox-android/com/wix/detox/{20.18.2-smoke.0/detox-20.18.2-smoke.0.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.2
|
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.2
|
7
|
-
<release>20.18.2
|
6
|
+
<latest>20.18.2</latest>
|
7
|
+
<release>20.18.2</release>
|
8
8
|
<versions>
|
9
|
-
<version>20.18.2
|
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
|
@@ -3,7 +3,6 @@ apply plugin: 'kotlin-android'
|
|
3
3
|
apply plugin: 'org.jetbrains.dokka'
|
4
4
|
apply plugin: 'signing'
|
5
5
|
apply from: './publish-pom.gradle'
|
6
|
-
apply from: '../rninfo.gradle'
|
7
6
|
|
8
7
|
String TARGET_LOCAL_DIR = "$buildDir/../../../Detox-android"
|
9
8
|
String TARGET_MAVEN_CENTRAL_URL = 'https://oss.sonatype.org/service/local/staging/deploy/maven2'
|
@@ -181,11 +180,7 @@ publishing {
|
|
181
180
|
|
182
181
|
"maven${variantNameCapitalized}Aar"(MavenPublication) {
|
183
182
|
groupId 'com.wix'
|
184
|
-
|
185
|
-
artifactId 'detox'
|
186
|
-
} else {
|
187
|
-
artifactId 'detox-legacy'
|
188
|
-
}
|
183
|
+
artifactId 'detox'
|
189
184
|
version "$_versionName"
|
190
185
|
|
191
186
|
// Register built .aar as published artifact (as a file, explicitly)
|
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.2
|
4
|
+
"version": "20.18.2",
|
5
5
|
"bin": {
|
6
6
|
"detox": "local-cli/cli.js"
|
7
7
|
},
|
@@ -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
|
-
ed9091bdd458b28d0c54ab52be64e938
|
@@ -1 +0,0 @@
|
|
1
|
-
a2e6ab930523e919a47577b15896add4d7a3d321
|
package/Detox-android/com/wix/detox/20.18.2-smoke.0/detox-20.18.2-smoke.0-sources.jar.sha256
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
3624446c9ee779a5d35f27c42d736c98a809d845d7aaf03abf171052ee9711dc
|
package/Detox-android/com/wix/detox/20.18.2-smoke.0/detox-20.18.2-smoke.0-sources.jar.sha512
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
ed3c5730b4ada9ff214cde7411db70868ba08c2984c8799e321da340528f32bcf7eaf7087d62ec890c82f8c8b4b240124e12280ee381af15d05947bc788258d7
|
@@ -1 +0,0 @@
|
|
1
|
-
2d5263c2c14fbebec206dc6f79af777a
|
@@ -1 +0,0 @@
|
|
1
|
-
c88656e95bb5dc1adc7989dd7924064a7890567f
|
@@ -1 +0,0 @@
|
|
1
|
-
8dd60afca354e7851ae68c8293a47166f23d505eb6172b988bf3411a9e1744fe
|
@@ -1 +0,0 @@
|
|
1
|
-
12499a308f711025b42a78d65dcf5a3ae16b6d31f2f36fb3cd0e1f3a8b7deb0f0203a14e32df60bf839376d07631cfa4cbaa0b5ce491ad5dea67d7df4538692f
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|