appium-espresso-driver 2.12.0 → 2.13.0

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/README.md CHANGED
@@ -856,14 +856,19 @@ True is the app has been found on the device and successfully removed. Otherwise
856
856
 
857
857
  ### mobile: terminateApp
858
858
 
859
- Terminates the app if it is running.
859
+ Terminates the app and waits until the app is terminated up to the given timeout
860
+ by checking the app state to ensure if the app process is actually stopped.
861
+
862
+ The app state check can be skipped if the given timeout is lower or equal to zero since Espresso driver 2.13.0.
863
+ The skip helps when you want to terminate the app process but do not want to check the process existence
864
+ because the app under test may, for example, restart it automatically.
860
865
 
861
866
  #### Arguments
862
867
 
863
868
  Name | Type | Required | Description | Example
864
869
  --- | --- | --- | --- | ---
865
870
  appId | string | yes | The identifier of the application package to be terminated | `my.app.id`
866
- timeout | number | no | The count of milliseconds to wait until the app is terminated. 500ms by default. | 1500
871
+ timeout | number | no | The count of milliseconds to wait until the app is terminated. 500ms by default. | 1500, 0
867
872
 
868
873
  #### Returned Result
869
874
 
@@ -1,17 +1,17 @@
1
1
  {
2
2
  "name": "appium-espresso-driver",
3
- "version": "2.12.0",
3
+ "version": "2.13.0",
4
4
  "lockfileVersion": 2,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "appium-espresso-driver",
9
- "version": "2.12.0",
9
+ "version": "2.13.0",
10
10
  "license": "Apache-2.0",
11
11
  "dependencies": {
12
12
  "@babel/runtime": "^7.4.3",
13
13
  "appium-adb": "^9.10.2",
14
- "appium-android-driver": "^5.4.0",
14
+ "appium-android-driver": "^5.6.0",
15
15
  "asyncbox": "^2.3.1",
16
16
  "bluebird": "^3.5.0",
17
17
  "lodash": "^4.17.11",
@@ -935,10 +935,11 @@
935
935
  "license": "MIT"
936
936
  },
937
937
  "node_modules/@types/keyv": {
938
- "version": "3.1.4",
938
+ "version": "4.2.0",
939
+ "deprecated": "This is a stub types definition. keyv provides its own type definitions, so you do not need this installed.",
939
940
  "license": "MIT",
940
941
  "dependencies": {
941
- "@types/node": "*"
942
+ "keyv": "*"
942
943
  }
943
944
  },
944
945
  "node_modules/@types/klaw": {
@@ -999,7 +1000,7 @@
999
1000
  }
1000
1001
  },
1001
1002
  "node_modules/@types/node": {
1002
- "version": "18.11.0",
1003
+ "version": "18.11.2",
1003
1004
  "license": "MIT"
1004
1005
  },
1005
1006
  "node_modules/@types/normalize-package-data": {
@@ -2807,7 +2808,7 @@
2807
2808
  }
2808
2809
  },
2809
2810
  "node_modules/is-core-module": {
2810
- "version": "2.10.0",
2811
+ "version": "2.11.0",
2811
2812
  "license": "MIT",
2812
2813
  "dependencies": {
2813
2814
  "has": "^1.0.3"
@@ -4330,7 +4331,7 @@
4330
4331
  }
4331
4332
  },
4332
4333
  "node_modules/safe-stable-stringify": {
4333
- "version": "2.4.0",
4334
+ "version": "2.4.1",
4334
4335
  "extraneous": true,
4335
4336
  "license": "MIT",
4336
4337
  "engines": {
@@ -5805,9 +5806,9 @@
5805
5806
  "version": "7.0.11"
5806
5807
  },
5807
5808
  "@types/keyv": {
5808
- "version": "3.1.4",
5809
+ "version": "4.2.0",
5809
5810
  "requires": {
5810
- "@types/node": "*"
5811
+ "keyv": "*"
5811
5812
  }
5812
5813
  },
5813
5814
  "@types/klaw": {
@@ -5858,7 +5859,7 @@
5858
5859
  }
5859
5860
  },
5860
5861
  "@types/node": {
5861
- "version": "18.11.0"
5862
+ "version": "18.11.2"
5862
5863
  },
5863
5864
  "@types/normalize-package-data": {
5864
5865
  "version": "2.4.1"
@@ -7056,7 +7057,7 @@
7056
7057
  "extraneous": true
7057
7058
  },
7058
7059
  "is-core-module": {
7059
- "version": "2.10.0",
7060
+ "version": "2.11.0",
7060
7061
  "requires": {
7061
7062
  "has": "^1.0.3"
7062
7063
  }
@@ -8026,7 +8027,7 @@
8026
8027
  }
8027
8028
  },
8028
8029
  "safe-stable-stringify": {
8029
- "version": "2.4.0",
8030
+ "version": "2.4.1",
8030
8031
  "extraneous": true
8031
8032
  },
8032
8033
  "safer-buffer": {
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "automated testing",
8
8
  "android"
9
9
  ],
10
- "version": "2.12.0",
10
+ "version": "2.13.0",
11
11
  "author": "Appium Contributors",
12
12
  "license": "Apache-2.0",
13
13
  "repository": {
@@ -62,7 +62,7 @@
62
62
  "dependencies": {
63
63
  "@babel/runtime": "^7.4.3",
64
64
  "appium-adb": "^9.10.2",
65
- "appium-android-driver": "^5.4.0",
65
+ "appium-android-driver": "^5.6.0",
66
66
  "asyncbox": "^2.3.1",
67
67
  "bluebird": "^3.5.0",
68
68
  "lodash": "^4.17.11",