Skip to content

Commit b641af8

Browse files
committed
wrap with wait
1 parent 6fcf12f commit b641af8

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

test/functional/android/android/search_context_test.rb

+4-3
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,10 @@ def teardown
3232
def test_uiautomation
3333
skip 'Espresso does not support uiautomator' if @@core.automation_name == :espresso
3434

35-
e = @driver.find_elements :uiautomator, 'new UiSelector().clickable(true)'
36-
37-
assert e.size > 10
35+
@@core.wait do
36+
e = @driver.find_elements :uiautomator, 'new UiSelector().clickable(true)'
37+
assert e.size > 10
38+
end
3839
end
3940

4041
def test_viewtag

0 commit comments

Comments
 (0)