@applitools/driver 1.12.1 → 1.12.3

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/CHANGELOG.md ADDED
@@ -0,0 +1,22 @@
1
+ # Changelog
2
+
3
+ ## [1.12.3](https://github.com/applitools/eyes.sdk.javascript1/compare/js/driver@1.12.2...js/driver@1.12.3) (2023-06-21)
4
+
5
+
6
+ ### Dependencies
7
+
8
+ * @applitools/logger bumped from 2.0.3 to 2.0.4
9
+ #### Bug Fixes
10
+
11
+ * fixed issue when extended logger didn't preserve base's handler ([7c5e029](https://github.com/applitools/eyes.sdk.javascript1/commit/7c5e0299522f792aad72b7b3827df31a1ab2d68f))
12
+
13
+ ## [1.12.2](https://github.com/applitools/eyes.sdk.javascript1/compare/js/driver-v1.12.1...js/driver@1.12.2) (2023-06-13)
14
+
15
+
16
+ ### Dependencies
17
+
18
+ * update some dependencies
19
+ * The following workspace dependencies were updated
20
+ * dependencies
21
+ * @applitools/logger bumped from 2.0.2 to 2.0.3
22
+ * @applitools/utils bumped from 1.3.37 to 1.4.0
@@ -75,7 +75,11 @@ class HelperAndroid {
75
75
  const resourceId = await element.getAttribute('resource-id');
76
76
  if (!resourceId)
77
77
  return null;
78
- return resourceId.split('/')[1];
78
+ this.logger.log(`Helper library resource-id: ${resourceId}`);
79
+ const result = resourceId.split('/');
80
+ if (result.length === 1)
81
+ return result[0];
82
+ return result[1];
79
83
  }
80
84
  async _command(command) {
81
85
  await this._input.type(command);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applitools/driver",
3
- "version": "1.12.1",
3
+ "version": "1.12.3",
4
4
  "description": "Applitools universal framework wrapper",
5
5
  "keywords": [
6
6
  "applitools",
@@ -24,9 +24,6 @@
24
24
  "name": "Applitools Team",
25
25
  "email": "team@applitools.com"
26
26
  },
27
- "aliases": [
28
- "driver"
29
- ],
30
27
  "exports": {
31
28
  ".": {
32
29
  "types": "./types/index.d.ts",
@@ -71,26 +68,23 @@
71
68
  "types"
72
69
  ],
73
70
  "scripts": {
74
- "lint": "node ../../node_modules/.bin/eslint '**/*.ts'",
75
- "build": "node ../../node_modules/.bin/tsc --project ./tsconfig.build.json",
76
- "test": "node ../../node_modules/.bin/mocha './test/**/*.spec.ts'",
77
- "test:sanity": "yarn test",
78
- "deps": "bongo deps",
79
- "preversion": "bongo preversion",
80
- "version": "bongo version",
81
- "postversion": "bongo postversion"
71
+ "lint": "run --top-level eslint '**/*.ts'",
72
+ "build": "run --top-level tsc --project ./tsconfig.build.json",
73
+ "test": "run --top-level mocha './test/**/*.spec.ts'"
82
74
  },
83
75
  "dependencies": {
84
- "@applitools/logger": "2.0.2",
76
+ "@applitools/logger": "2.0.4",
85
77
  "@applitools/snippets": "2.4.21",
86
- "@applitools/utils": "1.3.37",
78
+ "@applitools/utils": "1.4.0",
87
79
  "semver": "7.3.7"
88
80
  },
89
81
  "devDependencies": {
90
- "@applitools/bongo": "^4.0.0",
91
82
  "@types/node": "^12.20.55"
92
83
  },
93
84
  "engines": {
94
85
  "node": ">=12.13.0"
86
+ },
87
+ "publishConfig": {
88
+ "access": "public"
95
89
  }
96
- }
90
+ }