Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Comments

Improve readiness checks#33

Merged
gabriellanata merged 1 commit intomainfrom
Improve-readiness-checks
Oct 4, 2021
Merged

Improve readiness checks#33
gabriellanata merged 1 commit intomainfrom
Improve-readiness-checks

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