closeSoftKeyboard to fix test errors on small devices