Skip to content

Commit 7bea71a

Browse files
committed
Fix test_clear flaky functional test
1 parent 2141dbd commit 7bea71a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/functional/ios/webdriver_tests.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,8 @@ def test_clear(self):
8080
input_text = 'blah'
8181
el.click()
8282
el.send_keys(input_text)
83+
self.driver.hide_keyboard()
84+
8385
# TODO Needs to get the element again to update value in the element. Remove below one line when it's fixed.
8486
el = self.driver.find_elements_by_class_name('XCUIElementTypeTextField')[0]
8587
text = el.get_attribute('value')

0 commit comments

Comments
 (0)