appium-uiautomator2-driver 3.6.0 → 3.6.1
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 +6 -0
- package/README.md +4 -1
- package/npm-shrinkwrap.json +4 -9
- package/package.json +3 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
## [3.6.1](https://github.com/appium/appium-uiautomator2-driver/compare/v3.6.0...v3.6.1) (2024-06-23)
|
|
2
|
+
|
|
3
|
+
### Miscellaneous Chores
|
|
4
|
+
|
|
5
|
+
* Bump chai and chai-as-promised ([#799](https://github.com/appium/appium-uiautomator2-driver/issues/799)) ([35734db](https://github.com/appium/appium-uiautomator2-driver/commit/35734db0225b5d4af3d2aa72c2160149c94b954b))
|
|
6
|
+
|
|
1
7
|
## [3.6.0](https://github.com/appium/appium-uiautomator2-driver/compare/v3.5.7...v3.6.0) (2024-06-22)
|
|
2
8
|
|
|
3
9
|
### Features
|
package/README.md
CHANGED
|
@@ -127,7 +127,7 @@ appium:avdEnv | Mapping of emulator [environment variables](https://developer.an
|
|
|
127
127
|
appium:networkSpeed | Sets the desired network speed limit for the emulator. It is only applied if the emulator is not running before the test starts. See emulator [command line arguments](https://developer.android.com/studio/run/emulator-commandline) description for more details.
|
|
128
128
|
appium:gpsEnabled | Sets whether to enable (`true`) or disable (`false`) GPS service in the Emulator. Unset by default, which means to not change the current value
|
|
129
129
|
appium:isHeadless | If set to `true` then emulator starts in headless mode (e.g. no UI is shown). It is only applied if the emulator is not running before the test starts. `false` by default.
|
|
130
|
-
appium:injectedImageProperties | Allows adjusting of injected image properties, like size, position or rotation. The image itself is expected to be injected by [mobile: injectEmulatorCameraImage](#mobile-injectemulatorcameraimage) extension. It is also mandatory to provide this capability if you are going to use the injection feature on a newly created/resetted emulator as it __enforces emulator restart__, so it could properly reload the modified image properties. The value itself is a map, where possible keys are `size`, `position` and `rotation`. All of them are optional. If any of values is not provided then the following defaults are used: `{size: {scaleX: 1, scaleY: 1}, position: {0, 0, -1.5}, rotation: {0, 0, 0}}`. The `size` value contains scale multipliers for X and Y axes. The `position` contains normalized coefficients for X/Y/Z axes, where `0` means it should be centered in the viewport. Values in the `rotation` are measured in degrees respectively for X, Y and Z axis. The capability is available since the driver version 3.6.0.
|
|
130
|
+
appium:injectedImageProperties | Allows adjusting of injected image properties, like size, position or rotation. The image itself is expected to be injected by [mobile: injectEmulatorCameraImage](#mobile-injectemulatorcameraimage) extension. It is also mandatory to provide this capability if you are going to use the injection feature on a newly created/resetted emulator as it __enforces emulator restart__, so it could properly reload the modified image properties. The value itself is a map, where possible keys are `size`, `position` and `rotation`. All of them are optional. If any of values is not provided then the following defaults are used: `{size: {scaleX: 1, scaleY: 1}, position: {x: 0, y: 0, z: -1.5}, rotation: {x: 0, y: 0, z: 0}}`. The `size` value contains scale multipliers for X and Y axes. The `position` contains normalized coefficients for X/Y/Z axes, where `0` means it should be centered in the viewport. Values in the `rotation` are measured in degrees respectively for X, Y and Z axis. The capability is available since the driver version 3.6.0.
|
|
131
131
|
|
|
132
132
|
### App Signing
|
|
133
133
|
|
|
@@ -1509,10 +1509,12 @@ It is mandatory to provide a value (it could also be an empty map to use default
|
|
|
1509
1509
|
the [appium:injectedImageProperties capability](#emulator-android-virtual-device)
|
|
1510
1510
|
in order to prepare the emulator for image injection if this extension is used
|
|
1511
1511
|
on a newly created or resetted device.
|
|
1512
|
+
|
|
1512
1513
|
There is also a possiblity to perform a manual configuration of the necessary preconditions
|
|
1513
1514
|
if you don't want to restart the emulator on session startup. For that replace the content
|
|
1514
1515
|
of the `Toren1BD.posters` file located in `$ANDROID_HOME/emulator/resources` folder with the
|
|
1515
1516
|
following text:
|
|
1517
|
+
|
|
1516
1518
|
```
|
|
1517
1519
|
poster wall
|
|
1518
1520
|
size 2 2
|
|
@@ -1525,6 +1527,7 @@ size 1 1
|
|
|
1525
1527
|
position 0 0 -1.5
|
|
1526
1528
|
rotation 0 0 0
|
|
1527
1529
|
```
|
|
1530
|
+
|
|
1528
1531
|
Save the changed file and re(start) the emulator to pick up the changes.
|
|
1529
1532
|
You may also customize values for different image properties under `poster table` in the above
|
|
1530
1533
|
text snippet.
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "appium-uiautomator2-driver",
|
|
3
|
-
"version": "3.6.
|
|
3
|
+
"version": "3.6.1",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "appium-uiautomator2-driver",
|
|
9
|
-
"version": "3.6.
|
|
9
|
+
"version": "3.6.1",
|
|
10
10
|
"license": "Apache-2.0",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"appium-adb": "^12.2.0",
|
|
@@ -35,23 +35,19 @@
|
|
|
35
35
|
"@semantic-release/changelog": "^6.0.1",
|
|
36
36
|
"@semantic-release/git": "^10.0.1",
|
|
37
37
|
"@types/bluebird": "^3.5.38",
|
|
38
|
-
"@types/chai": "^4.3.5",
|
|
39
|
-
"@types/chai-as-promised": "^7.1.5",
|
|
40
38
|
"@types/lodash": "^4.14.194",
|
|
41
39
|
"@types/mocha": "^10.0.1",
|
|
42
40
|
"@types/node": "^20.2.3",
|
|
43
41
|
"@types/portscanner": "^2.1.1",
|
|
44
42
|
"@types/semver": "^7.5.0",
|
|
45
|
-
"@types/sinon": "^17.0.0",
|
|
46
|
-
"@types/sinon-chai": "^3.2.9",
|
|
47
43
|
"@types/source-map-support": "^0.x",
|
|
48
44
|
"@types/teen_process": "^2.0.0",
|
|
49
45
|
"@types/ws": "^8.5.4",
|
|
50
46
|
"@xmldom/xmldom": "^0.x",
|
|
51
47
|
"android-apidemos": "^4.1.1",
|
|
52
48
|
"appium": "^2.0.0-rc.3",
|
|
53
|
-
"chai": "^
|
|
54
|
-
"chai-as-promised": "^
|
|
49
|
+
"chai": "^5.1.1",
|
|
50
|
+
"chai-as-promised": "^8.0.0",
|
|
55
51
|
"conventional-changelog-conventionalcommits": "^8.0.0",
|
|
56
52
|
"fancy-log": "^2.0.0",
|
|
57
53
|
"mocha": "^10.0.0",
|
|
@@ -60,7 +56,6 @@
|
|
|
60
56
|
"semantic-release": "^24.0.0",
|
|
61
57
|
"sharp": "^0.x",
|
|
62
58
|
"sinon": "^18.0.0",
|
|
63
|
-
"sinon-chai": "^3.7.0",
|
|
64
59
|
"ts-node": "^10.9.1",
|
|
65
60
|
"typescript": "^5.4.2",
|
|
66
61
|
"unzipper": "^0.x",
|
package/package.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"automated testing",
|
|
8
8
|
"android"
|
|
9
9
|
],
|
|
10
|
-
"version": "3.6.
|
|
10
|
+
"version": "3.6.1",
|
|
11
11
|
"bugs": {
|
|
12
12
|
"url": "https://github.com/appium/appium-uiautomator2-driver/issues"
|
|
13
13
|
},
|
|
@@ -82,23 +82,19 @@
|
|
|
82
82
|
"@semantic-release/changelog": "^6.0.1",
|
|
83
83
|
"@semantic-release/git": "^10.0.1",
|
|
84
84
|
"@types/bluebird": "^3.5.38",
|
|
85
|
-
"@types/chai": "^4.3.5",
|
|
86
|
-
"@types/chai-as-promised": "^7.1.5",
|
|
87
85
|
"@types/lodash": "^4.14.194",
|
|
88
86
|
"@types/mocha": "^10.0.1",
|
|
89
87
|
"@types/node": "^20.2.3",
|
|
90
88
|
"@types/portscanner": "^2.1.1",
|
|
91
89
|
"@types/semver": "^7.5.0",
|
|
92
|
-
"@types/sinon": "^17.0.0",
|
|
93
|
-
"@types/sinon-chai": "^3.2.9",
|
|
94
90
|
"@types/source-map-support": "^0.x",
|
|
95
91
|
"@types/teen_process": "^2.0.0",
|
|
96
92
|
"@types/ws": "^8.5.4",
|
|
97
93
|
"@xmldom/xmldom": "^0.x",
|
|
98
94
|
"android-apidemos": "^4.1.1",
|
|
99
95
|
"appium": "^2.0.0-rc.3",
|
|
100
|
-
"chai": "^
|
|
101
|
-
"chai-as-promised": "^
|
|
96
|
+
"chai": "^5.1.1",
|
|
97
|
+
"chai-as-promised": "^8.0.0",
|
|
102
98
|
"conventional-changelog-conventionalcommits": "^8.0.0",
|
|
103
99
|
"fancy-log": "^2.0.0",
|
|
104
100
|
"mocha": "^10.0.0",
|
|
@@ -107,7 +103,6 @@
|
|
|
107
103
|
"semantic-release": "^24.0.0",
|
|
108
104
|
"sharp": "^0.x",
|
|
109
105
|
"sinon": "^18.0.0",
|
|
110
|
-
"sinon-chai": "^3.7.0",
|
|
111
106
|
"ts-node": "^10.9.1",
|
|
112
107
|
"typescript": "^5.4.2",
|
|
113
108
|
"unzipper": "^0.x",
|