We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9a5dd20 commit 87de9e2Copy full SHA for 87de9e2
test/functional/android/android/search_context_test.rb
@@ -31,7 +31,9 @@ def teardown
31
32
def test_uiautomator
33
skip 'Espresso does not support uiautomator' if @@core.automation_name == :espresso
34
- assert @driver.find_element :uiautomator, 'new UiSelector().clickable(true)'
+ e = @driver.find_element :uiautomator, 'new UiSelector().clickable(true)'
35
+ assert e
36
+ assert_equal "Access'ibility", e.tag_name
37
end
38
39
def test_viewtag
@@ -46,6 +48,7 @@ def test_datamatcher
46
48
47
49
e = @driver.find_elements :data_matcher, { name: 'hasEntry', args: %w(title Animation) }.to_json
50
assert_equal 1, e.size
51
+ assert_equal 'Animation', e.first.tag_name
52
53
e.first.click
54
@driver.find_element :accessibility_id, 'Cloning' # no error
0 commit comments