We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e561c8d commit 9117de2Copy full SHA for 9117de2
test/functional/android/webdriver/w3c_actions_test.rb
@@ -62,8 +62,13 @@ def test_tap_scroll
62
end
63
@driver.manage.timeouts.implicit_wait = @@core.default_wait
64
65
- el = @@core.wait { @driver.find_element(:accessibility_id, 'Lists') }
66
- assert_equal 'Lists', el.text
+ if @@core.automation_name == :espresso
+ el = @@core.wait { @driver.find_element(:accessibility_id, 'Lists') }
67
+ assert_equal 'Lists', el.text
68
+ else
69
+ # Sometimes UIA2 scrolls a element too much
70
+ @driver.find_element(:accessibility_id, 'WebView')
71
+ end
72
73
74
def test_double_tap
0 commit comments