Skip to content

Commit bcd9934

Browse files
Add predicate textfield test for iOS
1 parent 27732f4 commit bcd9934

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

ios_tests/lib/ios/specs/ios/element/textfield.rb

+5
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@ def after_last
3333
textfields.length.must_equal 4
3434
end
3535

36+
t 'predicate textfields' do
37+
textfield_count = execute_script(%Q(au.mainApp().getAllWithPredicate("type contains[c] 'textfield'", true))).length
38+
textfield_count.must_equal 4
39+
end
40+
3641
t 'first_textfield' do
3742
first_textfield.text.must_equal enter_text
3843
end

0 commit comments

Comments
 (0)