We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 84e3983 commit a051b35Copy full SHA for a051b35
android_tests/lib/android/specs/android/helper.rb
@@ -74,6 +74,10 @@ def id_value
74
2.times { back }
75
end
76
77
+ t 'ids' do
78
+ wait { ids('android:id/text1').length.must_equal 11 }
79
+ end
80
+
81
t '_parse_current_app_line' do
82
# test values from appium's test/unit/adb-specs.js
83
expected = [
lib/appium_lib/android/helper.rb
@@ -149,7 +149,7 @@ def id id
149
# @return [Element]
150
def ids id
151
# Android auto resolves strings.xml ids
152
- find_elements :id, value
+ find_elements :id, id
153
154
155
# Find the element of type class_name at matching index.
0 commit comments