Skip to content

Commit 7548ea9

Browse files
committed
test: add wait
1 parent 9d6fef4 commit 7548ea9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/functional/ios/ios/device_test.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ def test_hidekeyboard
258258
text = @@core.wait { @@driver.find_element :predicate, 'value == "Placeholder text"' }
259259
text.click
260260

261-
assert @@driver.find_element(:class, 'XCUIElementTypeKeyboard').displayed?
261+
assert @@core.wait { @@driver.find_element(:class, 'XCUIElementTypeKeyboard') }.displayed?
262262

263263
@@core.wait do
264264
@@driver.hide_keyboard

0 commit comments

Comments
 (0)