detox 20.18.0 → 20.18.2-smoke.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (35) hide show
  1. package/Detox-android/com/wix/detox/{20.18.0/detox-20.18.0-sources.jar → 20.18.2-smoke.0/detox-20.18.2-smoke.0-sources.jar} +0 -0
  2. package/Detox-android/com/wix/detox/20.18.2-smoke.0/detox-20.18.2-smoke.0-sources.jar.md5 +1 -0
  3. package/Detox-android/com/wix/detox/20.18.2-smoke.0/detox-20.18.2-smoke.0-sources.jar.sha1 +1 -0
  4. package/Detox-android/com/wix/detox/20.18.2-smoke.0/detox-20.18.2-smoke.0-sources.jar.sha256 +1 -0
  5. package/Detox-android/com/wix/detox/20.18.2-smoke.0/detox-20.18.2-smoke.0-sources.jar.sha512 +1 -0
  6. package/Detox-android/com/wix/detox/{20.18.0/detox-20.18.0.pom → 20.18.2-smoke.0/detox-20.18.2-smoke.0.pom} +1 -1
  7. package/Detox-android/com/wix/detox/20.18.2-smoke.0/detox-20.18.2-smoke.0.pom.md5 +1 -0
  8. package/Detox-android/com/wix/detox/20.18.2-smoke.0/detox-20.18.2-smoke.0.pom.sha1 +1 -0
  9. package/Detox-android/com/wix/detox/20.18.2-smoke.0/detox-20.18.2-smoke.0.pom.sha256 +1 -0
  10. package/Detox-android/com/wix/detox/20.18.2-smoke.0/detox-20.18.2-smoke.0.pom.sha512 +1 -0
  11. package/Detox-android/com/wix/detox/maven-metadata.xml +4 -4
  12. package/Detox-android/com/wix/detox/maven-metadata.xml.md5 +1 -1
  13. package/Detox-android/com/wix/detox/maven-metadata.xml.sha1 +1 -1
  14. package/Detox-android/com/wix/detox/maven-metadata.xml.sha256 +1 -1
  15. package/Detox-android/com/wix/detox/maven-metadata.xml.sha512 +1 -1
  16. package/Detox-ios-src.tbz +0 -0
  17. package/Detox-ios.tbz +0 -0
  18. package/android/detox/publishing.gradle +6 -1
  19. package/package.json +3 -3
  20. package/scripts/updateGradle.js +1 -1
  21. package/src/artifacts/uiHierarchy/IosUIHierarchyPlugin.js +2 -0
  22. package/src/utils/rn-consts/rn-consts.js +15 -0
  23. package/Detox-android/com/wix/detox/20.18.0/detox-20.18.0-sources.jar.md5 +0 -1
  24. package/Detox-android/com/wix/detox/20.18.0/detox-20.18.0-sources.jar.sha1 +0 -1
  25. package/Detox-android/com/wix/detox/20.18.0/detox-20.18.0-sources.jar.sha256 +0 -1
  26. package/Detox-android/com/wix/detox/20.18.0/detox-20.18.0-sources.jar.sha512 +0 -1
  27. package/Detox-android/com/wix/detox/20.18.0/detox-20.18.0.pom.md5 +0 -1
  28. package/Detox-android/com/wix/detox/20.18.0/detox-20.18.0.pom.sha1 +0 -1
  29. package/Detox-android/com/wix/detox/20.18.0/detox-20.18.0.pom.sha256 +0 -1
  30. package/Detox-android/com/wix/detox/20.18.0/detox-20.18.0.pom.sha512 +0 -1
  31. /package/Detox-android/com/wix/detox/{20.18.0/detox-20.18.0.aar → 20.18.2-smoke.0/detox-20.18.2-smoke.0.aar} +0 -0
  32. /package/Detox-android/com/wix/detox/{20.18.0/detox-20.18.0.aar.md5 → 20.18.2-smoke.0/detox-20.18.2-smoke.0.aar.md5} +0 -0
  33. /package/Detox-android/com/wix/detox/{20.18.0/detox-20.18.0.aar.sha1 → 20.18.2-smoke.0/detox-20.18.2-smoke.0.aar.sha1} +0 -0
  34. /package/Detox-android/com/wix/detox/{20.18.0/detox-20.18.0.aar.sha256 → 20.18.2-smoke.0/detox-20.18.2-smoke.0.aar.sha256} +0 -0
  35. /package/Detox-android/com/wix/detox/{20.18.0/detox-20.18.0.aar.sha512 → 20.18.2-smoke.0/detox-20.18.2-smoke.0.aar.sha512} +0 -0
@@ -0,0 +1 @@
1
+ ed9091bdd458b28d0c54ab52be64e938
@@ -0,0 +1 @@
1
+ a2e6ab930523e919a47577b15896add4d7a3d321
@@ -0,0 +1 @@
1
+ 3624446c9ee779a5d35f27c42d736c98a809d845d7aaf03abf171052ee9711dc
@@ -0,0 +1 @@
1
+ ed3c5730b4ada9ff214cde7411db70868ba08c2984c8799e321da340528f32bcf7eaf7087d62ec890c82f8c8b4b240124e12280ee381af15d05947bc788258d7
@@ -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.0</version>
6
+ <version>20.18.2-smoke.0</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
+ 2d5263c2c14fbebec206dc6f79af777a
@@ -0,0 +1 @@
1
+ c88656e95bb5dc1adc7989dd7924064a7890567f
@@ -0,0 +1 @@
1
+ 8dd60afca354e7851ae68c8293a47166f23d505eb6172b988bf3411a9e1744fe
@@ -0,0 +1 @@
1
+ 12499a308f711025b42a78d65dcf5a3ae16b6d31f2f36fb3cd0e1f3a8b7deb0f0203a14e32df60bf839376d07631cfa4cbaa0b5ce491ad5dea67d7df4538692f
@@ -3,11 +3,11 @@
3
3
  <groupId>com.wix</groupId>
4
4
  <artifactId>detox</artifactId>
5
5
  <versioning>
6
- <latest>20.18.0</latest>
7
- <release>20.18.0</release>
6
+ <latest>20.18.2-smoke.0</latest>
7
+ <release>20.18.2-smoke.0</release>
8
8
  <versions>
9
- <version>20.18.0</version>
9
+ <version>20.18.2-smoke.0</version>
10
10
  </versions>
11
- <lastUpdated>20240211132143</lastUpdated>
11
+ <lastUpdated>20240221143248</lastUpdated>
12
12
  </versioning>
13
13
  </metadata>
@@ -1 +1 @@
1
- 36ec128aff594d99762c041cb3167ae7
1
+ a4f7e4379ed85a631499e628ade1b56b
@@ -1 +1 @@
1
- 0b9d451f33e9527b8fe57c452f151823c6426440
1
+ 6f2af30435adb35ca5bfd892162c4ee5c1fc9d50
@@ -1 +1 @@
1
- c53d5ded52937f68bc9b4c071f7febd1d4025f459fe4864ab54649260ce0f370
1
+ 4c97d73f7913c9e3397ffc2d1aaa8df9c938e64959a5648993089f4a3c7bc25f
@@ -1 +1 @@
1
- 6cd6e25b3fac5d11be1c4ace5d65cad06db2c48f86e6fc2fa252a953504b4c2586d3ffe064dea28e4bf8e9d65c3ff1db7898bd230123a774e7797068318e79db
1
+ a98e13d7c753885ce74a44b74826d7091fe4b3cd45dcb3e6bec61c66e5de5d37012be8b237e31d11566cf98496f42514ff1e4747310388902a0d97211e27600e
package/Detox-ios-src.tbz CHANGED
Binary file
package/Detox-ios.tbz CHANGED
Binary file
@@ -3,6 +3,7 @@ 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'
6
7
 
7
8
  String TARGET_LOCAL_DIR = "$buildDir/../../../Detox-android"
8
9
  String TARGET_MAVEN_CENTRAL_URL = 'https://oss.sonatype.org/service/local/staging/deploy/maven2'
@@ -180,7 +181,11 @@ publishing {
180
181
 
181
182
  "maven${variantNameCapitalized}Aar"(MavenPublication) {
182
183
  groupId 'com.wix'
183
- artifactId 'detox'
184
+ if (rnInfo.isRN72OrHigher) {
185
+ artifactId 'detox'
186
+ } else {
187
+ artifactId 'detox-legacy'
188
+ }
184
189
  version "$_versionName"
185
190
 
186
191
  // 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.0",
4
+ "version": "20.18.2-smoke.0",
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.5",
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": "cbb93004fba5235a50a9ed33a4e65d04d8e0c1e4"
118
+ "gitHead": "59d7d9d3539c2b19e37611e4af455c7a79a7b3f5"
119
119
  }
@@ -1,7 +1,7 @@
1
1
  const fs = require('fs');
2
2
  const path = require('path');
3
3
 
4
- const rnMinor = require('../test/e2e/utils/rn-consts/rn-consts').rnVersion.minor;
4
+ const rnMinor = require('../src/utils/rn-consts/rn-consts').rnVersion.minor;
5
5
 
6
6
  function getGradleVersionByRNVersion() {
7
7
  switch (rnMinor) {
@@ -51,6 +51,7 @@ class IosUIHierarchyPlugin extends ArtifactPlugin {
51
51
  if (this.enabled) {
52
52
  const scope = this.context.testSummary ? 'perTest' : 'perSession';
53
53
  setUniqueProperty(this._artifacts[scope], name, artifact);
54
+ this.api.trackArtifact(artifact);
54
55
  } else {
55
56
  this._pendingDeletions.push(artifact.discard());
56
57
  }
@@ -97,6 +98,7 @@ class IosUIHierarchyPlugin extends ArtifactPlugin {
97
98
  .map(async ([key, artifact]) => {
98
99
  const destination = await this.api.preparePathForArtifact(`${key}.viewhierarchy`, testSummary);
99
100
  await artifact.save(destination);
101
+ this.api.untrackArtifact(artifact);
100
102
  })
101
103
  .value();
102
104
 
@@ -0,0 +1,15 @@
1
+ const rnVersion = (function parseRNVersion() {
2
+ const packageJson = require('react-native/package.json');
3
+ const raw = packageJson.version;
4
+ const [major, minor, patch] = raw.split('.');
5
+ return {
6
+ major,
7
+ minor,
8
+ patch,
9
+ raw,
10
+ };
11
+ })();
12
+
13
+ module.exports = {
14
+ rnVersion,
15
+ };
@@ -1 +0,0 @@
1
- be3150f677382c83ca4c3b39e7eeee42
@@ -1 +0,0 @@
1
- 273211543833cb70452802c22e3f51e70c440fe4
@@ -1 +0,0 @@
1
- 0644ab1765ddc2c2017d6b818560b7cdf5966532fcfb1d993cd2023010747017
@@ -1 +0,0 @@
1
- 5f3548c95106ceb9d84975be71289e23396dff2ddb194fbd588d2d8b69589a30390013cbd7594068405843f677a4e71c6a472ebb6abaebb92bd66b0ac90258bc
@@ -1 +0,0 @@
1
- 15fb573a4936ca91c03771b491a28928
@@ -1 +0,0 @@
1
- c3a0001593b559b22d6ea3e8ff3190c1e8a75c11
@@ -1 +0,0 @@
1
- 6fc69b38d42efa7b874898442dfb703027f046714d5b9a5817f5ad944e290916
@@ -1 +0,0 @@
1
- 1752d843f096d6a1b51d7a312779a58d1f0378ade72115eb43ea5654a01b1e9152dbcf61c97d674d0216c859e1285743ef91a4a443a2e3c76b6df085823dfe07