Skip to content

Commit f8338b9

Browse files
committed
make uia test simple
1 parent b641af8 commit f8338b9

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

test/functional/android/android/search_context_test.rb

+2-6
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,9 @@ def teardown
2929
@@core.quit_driver
3030
end
3131

32-
def test_uiautomation
32+
def test_uiautomator
3333
skip 'Espresso does not support uiautomator' if @@core.automation_name == :espresso
34-
35-
@@core.wait do
36-
e = @driver.find_elements :uiautomator, 'new UiSelector().clickable(true)'
37-
assert e.size > 10
38-
end
34+
assert @driver.find_element :uiautomator, 'new UiSelector().clickable(true)'
3935
end
4036

4137
def test_viewtag

0 commit comments

Comments
 (0)