inkling / Subliminal

An understated approach to iOS integration testing.
Other
756 stars 54 forks source link

Wait for elements to be valid before attempting to type in them #229

Closed justinseanmartin closed 10 years ago

justinseanmartin commented 10 years ago

Wait for elements to be valid before attempting to type in them. I was finding that sometimes the "type" would be failing because an alert window was still the keyWindow when [self hasKeyboardFocus] would attempt to generate an accessibilityPath.

wearhere commented 10 years ago

Good catch, @justinseanmartin---setText is supposed to wait till the element is valid. Can you fix this in SLWebTextField and SLTextView/SLWebTextView too?

wearhere commented 10 years ago

:+1: Thanks!