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: Configure app termination via shouldTerminateApp capability #486

Merged
merged 1 commit into from
Mar 25, 2021

Conversation

mrmacete
Copy link

By default is true (as per the existing behaviour), which means the app gets terminated when the session gets killed, if a bundleId was specified.

By default is true (as per the existing behaviour), which means the app
gets terminated when the session gets killed, if a bundleId was
specified.
@mykola-mokhnach
Copy link

What is the example usage scenario for this capability? As far as I remember the next session is anyway going to restart the app if launchApp XCTest API is called.

@mrmacete
Copy link
Author

mrmacete commented Mar 24, 2021

ah yeah sorry i forgot to explain this in the description. the use case is for complex integration setups where the app lifetime is managed by third party tools, and other actions (outside the scope of the UI testing) must be taken after the test finishes and before the app can be killed.

@mykola-mokhnach mykola-mokhnach merged commit ffbebe5 into appium:master Mar 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants