mirror of
https://github.com/appium/appium.git
synced 2026-04-29 06:50:56 -05:00
fix up stop app on reset issue; make sure the cap matches the flag
This commit is contained in:
@@ -50,7 +50,7 @@
|
||||
|`intentCategory`| Intent category which will be used to start activity (default `android.intent.category.LAUNCHER`)| e.g. `android.intent.category.LAUNCHER`, `android.intent.category.APP_CONTACTS`
|
||||
|`intentFlags`| Flags that will be used to start activity (default `0x10200000`)| e.g. `0x10200000`
|
||||
|`optionalIntentArguments`| Additional intent arguments that will be used to start activity. See [Intent arguments](http://developer.android.com/tools/help/adb.html#IntentSpec) | e.g. `--esn <EXTRA_KEY>`, `--ez <EXTRA_KEY> <EXTRA_BOOLEAN_VALUE>`, etc.
|
||||
|`stopAppOnReset`| Stops the process of the app under test, before starting the app using adb. If the app under test is created by another anchor app, setting this false, allows the process of the anchor app to be still alive, during the start of the test app using adb, default `true`| `true` or `false`|
|
||||
|`dontStopAppOnReset`| Doesn't stop the process of the app under test, before starting the app using adb. If the app under test is created by another anchor app, setting this false, allows the process of the anchor app to be still alive, during the start of the test app using adb. In other words, with `dontStopAppOnReset` set to `true`, we will not include the `-S` flag in the `adb shell am start` call. With this capability omitted or set to `false`, we include the `-S` flag. Default `false`| `true` or `false`|
|
||||
|`unicodeKeyboard`| Enable Unicode input, default `false`| `true` or `false`|
|
||||
|`resetKeyboard`| Reset keyboard to its original state, after running Unicode tests with `unicodeKeyboard` capability. Ignored if used alone. Default `false`| `true` or `false`|
|
||||
|`noSign`| Skip checking and signing of app with debug keys, will work only with UiAutomator and not with selendroid, default `false`| `true` or `false`|
|
||||
|
||||
@@ -401,7 +401,7 @@ Android.prototype.startApp = function (args, cb) {
|
||||
waitPkg: args.appWaitPackage,
|
||||
waitActivity: args.appWaitActivity,
|
||||
optionalIntentArguments: args.optionalIntentArguments,
|
||||
stopApp: args.stopAppOnReset
|
||||
stopApp: args.stopAppOnReset || !args.dontStopAppOnReset
|
||||
}, cb);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user