lib/calabash-cucumber/keyboard_helpers.rb in calabash-cucumber-0.9.116 vs lib/calabash-cucumber/keyboard_helpers.rb in calabash-cucumber-0.9.117
- old
+ new
@@ -79,9 +79,14 @@
end
return false
end
end
+ def await_keyboard
+ wait_for_elements_exist(["view:'UIKBKeyplaneView'"])
+ sleep(0.3)
+ end
+
def keyboard_enter_text(text)
fail("No visible keyboard") if element_does_not_exist("view:'UIKBKeyplaneView'")
text.each_char do |ch|
begin