Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add shouldTerminateApp capability #1290

Merged
merged 3 commits into from
Mar 25, 2021

Conversation

mrmacete
Copy link
Contributor

To specify if the app should be terminated on session end (when bundleId is present). The default is true to be consistent with the existing behaviour.

Depends on: appium/WebDriverAgent#486

To specify if the app should be terminated on session end (when
`bundleId` is present). The default is `true` to be consistent with the
existing behaviour.
README.md Outdated
@@ -155,6 +155,7 @@ Capability | Description
|`appium:autoAcceptAlerts`| Accept all iOS alerts automatically if they pop up. This includes privacy access permission alerts (e.g., location, contacts, photos). Default is `false`. |`true` or `false`|
|`appium:autoDismissAlerts`| Dismiss all iOS alerts automatically if they pop up. This includes privacy access permission alerts (e.g., location, contacts, photos). Default is `false`. |`true` or `false`|
|`appium:disableAutomaticScreenshots`| Disable automatic screenshots taken by XCTest at every interaction. Default is up to `WebDriverAgent`'s config to decide, which currently defaults to `true`. |`true` or `false`|
|`appium:shouldTerminateApp`| Specify if the app should be terminated on session end (when `bundleId` is provided). Default is `true`. |`true` or `false`|
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(when bundleId is provided) -> This capability only has an effect if an application identifier has been passed to the test session (either explicitly, by setting bundleId, or implicitly, by providing app)

@mykola-mokhnach
Copy link
Contributor

Please bump webdriveragent component to ^3.7.0

@mykola-mokhnach mykola-mokhnach merged commit a0f6caa into appium:master Mar 25, 2021
github-actions bot pushed a commit that referenced this pull request Mar 25, 2021
# [3.42.0](v3.41.0...v3.42.0) (2021-03-25)

### Features

* Add shouldTerminateApp capability ([#1290](#1290)) ([a0f6caa](a0f6caa))
@github-actions
Copy link
Contributor

🎉 This PR is included in version 3.42.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

khanayan123 pushed a commit to khanayan123/appium-xcuitest-driver that referenced this pull request May 10, 2021
khanayan123 pushed a commit to khanayan123/appium-xcuitest-driver that referenced this pull request May 10, 2021
# [3.42.0](appium/appium-xcuitest-driver@v3.41.0...v3.42.0) (2021-03-25)

### Features

* Add shouldTerminateApp capability ([appium#1290](appium#1290)) ([a0f6caa](appium@a0f6caa))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants