How to check if an element is covered by presented keyboard or not? Let's say we have a login view with input text fields and button "Log In" and we want to make sure if button "Log In" is always visible... When you start typing into email field presented keyboard might cover Log In button...
tester().tapViewWithAccessibilityLabel("Log In")
this chunk of code always taps the button even it's below presented keyboard...
you can try this