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

Improve readiness checks #33

Merged
merged 1 commit into from
Oct 4, 2021
Merged

Improve readiness checks #33

merged 1 commit into from
Oct 4, 2021

Conversation

gabriellanata
Copy link
Contributor

@gabriellanata gabriellanata commented Oct 1, 2021

While debugging some flakiness in tests that had custom window presentation, I found that the UIApplication.shared.isIgnoringInteractionEvents is effective at detecting UIWindow transitions. It is marked as deprecated since iOS13 but there does not seem to be a better way to get the same information, so i've moved it as a main check for all versions.

At the same time, I added the isWindowReady checks in more places to output better error messages

@gabriellanata gabriellanata requested a review from brodney October 1, 2021 22:19
@gabriellanata gabriellanata merged commit 7318148 into main Oct 4, 2021
@gabriellanata gabriellanata deleted the Improve-readiness-checks branch October 4, 2021 18:00
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