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

fix(iOS): active app under test on XCUITest interaction. #4552

Merged
merged 1 commit into from
Aug 15, 2024

Conversation

asafkorem
Copy link
Contributor

This update ensures the app-under-test remains active and prevents device locks during each launch of the XCUITest runner process.

/*!
 * Activates the application synchronously. On return the application is ready to handle events.
 * If the application was not running prior, it will be launched automatically. If the application
 * would be launched as a result of this method and was previously launched via -launch, the launch
 * arguments and environment variables that were used then will be supplied again for the new launch.
 *
 * Unlike -launch, if the application is already running this call will not terminate the existing
 * instance.
 *
 * Any failure in the activation or launch sequence will be reported as a test failure and the test
 * will be halted at that point.
*/
- (void)activate;

This update ensures the app-under-test remains active and prevents
device locks during each launch of the XCUITest runner process.
@asafkorem asafkorem merged commit bdc4cd4 into master Aug 15, 2024
3 checks passed
@asafkorem asafkorem deleted the fix-device-lock-issue-xcuitest branch August 15, 2024 14:01
@asafkorem asafkorem self-assigned this Aug 15, 2024
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.

1 participant