detox 20.51.1 → 20.51.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.51.0/detox-20.51.0-sources.jar → 20.51.2/detox-20.51.2-sources.jar} +0 -0
- package/Detox-android/com/wix/detox/20.51.2/detox-20.51.2-sources.jar.md5 +1 -0
- package/Detox-android/com/wix/detox/20.51.2/detox-20.51.2-sources.jar.sha1 +1 -0
- package/Detox-android/com/wix/detox/20.51.2/detox-20.51.2-sources.jar.sha256 +1 -0
- package/Detox-android/com/wix/detox/20.51.2/detox-20.51.2-sources.jar.sha512 +1 -0
- package/Detox-android/com/wix/detox/20.51.2/detox-20.51.2.aar +0 -0
- package/Detox-android/com/wix/detox/20.51.2/detox-20.51.2.aar.md5 +1 -0
- package/Detox-android/com/wix/detox/20.51.2/detox-20.51.2.aar.sha1 +1 -0
- package/Detox-android/com/wix/detox/20.51.2/detox-20.51.2.aar.sha256 +1 -0
- package/Detox-android/com/wix/detox/20.51.2/detox-20.51.2.aar.sha512 +1 -0
- package/Detox-android/com/wix/detox/{20.51.0/detox-20.51.0.pom → 20.51.2/detox-20.51.2.pom} +1 -1
- package/Detox-android/com/wix/detox/20.51.2/detox-20.51.2.pom.md5 +1 -0
- package/Detox-android/com/wix/detox/20.51.2/detox-20.51.2.pom.sha1 +1 -0
- package/Detox-android/com/wix/detox/20.51.2/detox-20.51.2.pom.sha256 +1 -0
- package/Detox-android/com/wix/detox/20.51.2/detox-20.51.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-framework.tbz +0 -0
- package/Detox-ios-src.tbz +0 -0
- package/Detox-ios-xcuitest.tbz +0 -0
- package/android/detox/src/full/java/com/wix/detox/espresso/hierarchy/ViewHierarchyGenerator.kt +5 -1
- package/android/rninfo.gradle +1 -0
- package/package.json +9 -9
- package/src/devices/common/drivers/ios/tools/AppleSimUtils.js +40 -18
- package/Detox-android/com/wix/detox/20.51.0/detox-20.51.0-sources.jar.md5 +0 -1
- package/Detox-android/com/wix/detox/20.51.0/detox-20.51.0-sources.jar.sha1 +0 -1
- package/Detox-android/com/wix/detox/20.51.0/detox-20.51.0-sources.jar.sha256 +0 -1
- package/Detox-android/com/wix/detox/20.51.0/detox-20.51.0-sources.jar.sha512 +0 -1
- package/Detox-android/com/wix/detox/20.51.0/detox-20.51.0.aar +0 -0
- package/Detox-android/com/wix/detox/20.51.0/detox-20.51.0.aar.md5 +0 -1
- package/Detox-android/com/wix/detox/20.51.0/detox-20.51.0.aar.sha1 +0 -1
- package/Detox-android/com/wix/detox/20.51.0/detox-20.51.0.aar.sha256 +0 -1
- package/Detox-android/com/wix/detox/20.51.0/detox-20.51.0.aar.sha512 +0 -1
- package/Detox-android/com/wix/detox/20.51.0/detox-20.51.0.pom.md5 +0 -1
- package/Detox-android/com/wix/detox/20.51.0/detox-20.51.0.pom.sha1 +0 -1
- package/Detox-android/com/wix/detox/20.51.0/detox-20.51.0.pom.sha256 +0 -1
- package/Detox-android/com/wix/detox/20.51.0/detox-20.51.0.pom.sha512 +0 -1
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
5e0c7cf223b2844c312ce7b46f0b4ae4
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
7647c30cfe5667a0fcec15aaeae7734005319362
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
c0cd59d80824de60f5e9824a7815d1d5ce20de4708b5c06ebc70f2b4b8025827
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
50c7f66a833e19128e9803fd5095aed5bc189530f9127255f9dc30c7daafa43fac1d8090c4f83be03e9fe8af97dc83cc5e511ed9b8cbae45a42e4487cbe945e4
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
8e0d8436e2bb96bf972973f870a8a085
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
8c632990b86b21310efddead2389ba03909ace2d
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
ec21c0143aef98ba788e5b1df0439004f3becfc8946b77b7fce5191db637f1c6
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
9da3a9c4afa75981a87d68da9dd6ebc3c127acf19c7357f14609c3bc0c1540763299f931d1edca1d35291d9111dcf75439be40af192a33a8e4e9a380dfd3e94b
|
|
@@ -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.51.
|
|
6
|
+
<version>20.51.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
|
+
661d1e493ad0092ee454fee94b4fb00c
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
a9b920066d9684445d20de5491006b7c5d884bb0
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
0bc8cad6666fabef3b15bf3b7bf892733f2f2116f6bfad52f257ee106b86bdf4
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
a4d3b3dd635ad19ff0aaa1db31c0078eac601d3dba62822bcb47420243783d794bd6aeec31814cc5edb335c1ad6a0fa8c72dcd579fc368b2262a6bd1da2cd3b5
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
<groupId>com.wix</groupId>
|
|
4
4
|
<artifactId>detox</artifactId>
|
|
5
5
|
<versioning>
|
|
6
|
-
<latest>20.51.
|
|
7
|
-
<release>20.51.
|
|
6
|
+
<latest>20.51.2</latest>
|
|
7
|
+
<release>20.51.2</release>
|
|
8
8
|
<versions>
|
|
9
|
-
<version>20.51.
|
|
9
|
+
<version>20.51.2</version>
|
|
10
10
|
</versions>
|
|
11
|
-
<lastUpdated>
|
|
11
|
+
<lastUpdated>20260529122938</lastUpdated>
|
|
12
12
|
</versioning>
|
|
13
13
|
</metadata>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
20bc1700fb94a30f2d264773596e29f2
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
4097d680c440219843c46f43ec5d516d8ff12314
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
b38f51224a43d95218d955edd7dc72841552b5b3fd69152250ee113af6c0ddaa
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
a26816c0c6d3f8f39b54ff2d267e8c340afba1bd6df60823f9b8381c95444462237982196ac19b416a82c3294a7015106958e35112bbd393c78e9c888ccf2eca
|
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/android/detox/src/full/java/com/wix/detox/espresso/hierarchy/ViewHierarchyGenerator.kt
CHANGED
|
@@ -19,6 +19,7 @@ import kotlin.coroutines.resume
|
|
|
19
19
|
|
|
20
20
|
private const val GET_HTML_SCRIPT = """
|
|
21
21
|
(function() {
|
|
22
|
+
try {
|
|
22
23
|
const blacklistedTags = ['script', 'style', 'head', 'meta'];
|
|
23
24
|
const blackListedTagsSelector = blacklistedTags.join(',');
|
|
24
25
|
|
|
@@ -38,7 +39,10 @@ private const val GET_HTML_SCRIPT = """
|
|
|
38
39
|
var serializedHtml = serializer.serializeToString(clonedDoc);
|
|
39
40
|
|
|
40
41
|
// Return the serialized HTML as a string
|
|
41
|
-
return serializedHtml;
|
|
42
|
+
return serializedHtml;
|
|
43
|
+
} catch {
|
|
44
|
+
return '<html xmlns="http://www.w3.org/1999/xhtml"><body></body></html>';
|
|
45
|
+
}
|
|
42
46
|
})();
|
|
43
47
|
"""
|
|
44
48
|
|
package/android/rninfo.gradle
CHANGED
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.51.
|
|
4
|
+
"version": "20.51.2",
|
|
5
5
|
"bin": "local-cli/cli.js",
|
|
6
6
|
"files": [
|
|
7
7
|
"android",
|
|
@@ -54,13 +54,13 @@
|
|
|
54
54
|
"postinstall": "node scripts/postinstall.js"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
|
-
"@react-native-community/cli": "20.0
|
|
58
|
-
"@react-native-community/cli-platform-android": "20.0
|
|
59
|
-
"@react-native-community/cli-platform-ios": "20.0
|
|
60
|
-
"@react-native/babel-preset": "0.
|
|
61
|
-
"@react-native/eslint-config": "0.
|
|
62
|
-
"@react-native/metro-config": "0.
|
|
63
|
-
"@react-native/typescript-config": "0.
|
|
57
|
+
"@react-native-community/cli": "20.1.0",
|
|
58
|
+
"@react-native-community/cli-platform-android": "20.1.0",
|
|
59
|
+
"@react-native-community/cli-platform-ios": "20.1.0",
|
|
60
|
+
"@react-native/babel-preset": "0.85.2",
|
|
61
|
+
"@react-native/eslint-config": "0.85.2",
|
|
62
|
+
"@react-native/metro-config": "0.85.2",
|
|
63
|
+
"@react-native/typescript-config": "0.85.2",
|
|
64
64
|
"@tsconfig/react-native": "^3.0.0",
|
|
65
65
|
"@types/bunyan": "^1.8.8",
|
|
66
66
|
"@types/child-process-promise": "^2.2.1",
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
"jest-allure2-reporter": "^2.2.6",
|
|
83
83
|
"metro-react-native-babel-preset": "0.76.8",
|
|
84
84
|
"prettier": "^3.1.1",
|
|
85
|
-
"react-native": "0.
|
|
85
|
+
"react-native": "0.85.2",
|
|
86
86
|
"react-native-codegen": "^0.0.8",
|
|
87
87
|
"typescript": "^5.8.3",
|
|
88
88
|
"wtfnode": "^0.9.1"
|
|
@@ -311,14 +311,24 @@ class AppleSimUtils {
|
|
|
311
311
|
return;
|
|
312
312
|
}
|
|
313
313
|
|
|
314
|
-
const
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
314
|
+
const isIOS26Plus = (await this._getMajorIOSVersion(udid)) >= 26;
|
|
315
|
+
const options = isIOS26Plus
|
|
316
|
+
? {
|
|
317
|
+
args: `--booted --biometricMatch`,
|
|
318
|
+
retries: 1,
|
|
319
|
+
statusLogs: {
|
|
320
|
+
trying: `Trying to match ${matchType}...`,
|
|
321
|
+
successful: `Matched ${matchType}!`
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
: {
|
|
325
|
+
args: `--byId ${udid} --match${matchType}`,
|
|
326
|
+
retries: 1,
|
|
327
|
+
statusLogs: {
|
|
328
|
+
trying: `Trying to match ${matchType}...`,
|
|
329
|
+
successful: `Matched ${matchType}!`
|
|
330
|
+
}
|
|
331
|
+
};
|
|
322
332
|
await this._execAppleSimUtils(options);
|
|
323
333
|
}
|
|
324
334
|
|
|
@@ -327,14 +337,24 @@ class AppleSimUtils {
|
|
|
327
337
|
return;
|
|
328
338
|
}
|
|
329
339
|
|
|
330
|
-
const
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
340
|
+
const isIOS26Plus = (await this._getMajorIOSVersion(udid)) >= 26;
|
|
341
|
+
const options = isIOS26Plus
|
|
342
|
+
? {
|
|
343
|
+
args: `--booted --biometricNonmatch`,
|
|
344
|
+
retries: 1,
|
|
345
|
+
statusLogs: {
|
|
346
|
+
trying: `Trying to unmatch ${matchType}...`,
|
|
347
|
+
successful: `Unmatched ${matchType}!`
|
|
348
|
+
}
|
|
349
|
+
}
|
|
350
|
+
: {
|
|
351
|
+
args: `--byId ${udid} --unmatch${matchType}`,
|
|
352
|
+
retries: 1,
|
|
353
|
+
statusLogs: {
|
|
354
|
+
trying: `Trying to unmatch ${matchType}...`,
|
|
355
|
+
successful: `Unmatched ${matchType}!`
|
|
356
|
+
}
|
|
357
|
+
};
|
|
338
358
|
await this._execAppleSimUtils(options);
|
|
339
359
|
}
|
|
340
360
|
|
|
@@ -344,13 +364,15 @@ class AppleSimUtils {
|
|
|
344
364
|
}
|
|
345
365
|
|
|
346
366
|
const toggle = yesOrNo === 'YES';
|
|
367
|
+
const isIOS26Plus = (await this._getMajorIOSVersion(udid)) >= 26;
|
|
368
|
+
const byIdOrBooted = isIOS26Plus ? `--booted` : `--byId ${udid}`;
|
|
347
369
|
const options = {
|
|
348
|
-
args:
|
|
370
|
+
args: `${byIdOrBooted} --biometricEnrollment ${yesOrNo}`,
|
|
349
371
|
retries: 1,
|
|
350
372
|
statusLogs: {
|
|
351
373
|
trying: `Turning ${toggle ? 'on' : 'off'} biometric enrollment...`,
|
|
352
374
|
successful: toggle ? 'Activated!' : 'Deactivated!'
|
|
353
|
-
}
|
|
375
|
+
}
|
|
354
376
|
};
|
|
355
377
|
await this._execAppleSimUtils(options);
|
|
356
378
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
ae6aa50e1d9f04cecaae16d7b4f30c23
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
3d180ccf1e380b85707f7427c97deac35bc4e9d3
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
cc46f91dc1e36121615233baffc10e37c379cd90a24aa59b400daabdc45bd76a
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
e12ced77b107223a932a1463c88e7bb97f2516261d0708a7a3f77d183c73de1d41837bef3092f9e1109c6b6b950f813537ca1dc522d66e8d2eaae920007b55de
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
6c5b17b6a287db32fabf71f59d996c8c
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
ce92a1ede1c4f01124d52e3634d1f99ab04a1306
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
1b268238bf728bad459c4d32b46d5311ce8e3a0d86203859ca03c1e7574b8eab
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
3c9f2db925939dbb46592be2b21b864ecf2b7a0da3fba3841693721158618a6ca57d66346537c1e002dd184789c9bdf2892cefb8296fcf1e18a4eb724486fd59
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
7ad13486ca1c01283092cad941dd6ae8
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
e09ed2413140e577e1ea2878ad0138ca7bc1a578
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
375e8a1ed0315e23de4b1e345da228178326bd03778099ca88d5cc3378c82dae
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
8487e22276740d86ec2fd93a512124469b9bc1d30bd7705af851944c9f1fcc6c5e31eab6fd1df6dd3720c6835d8b884afd24d96ccd8dd17a4b5411fe10e98394
|