Skip to content

Commit baf5f3c

Browse files
authored
update tests for finds_exact (#429)
1 parent 42df79b commit baf5f3c

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

android_tests/lib/android/specs/common/element/window.rb

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# rake android[common/element/window]
12
describe 'common/element/window' do
23
t 'window_size' do
34
wait do

ios_tests/lib/ios/specs/common/element/window.rb

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# rake ios[common/element/window]
12
describe 'common/element/window' do
23
def before_first
34
screen.must_equal catalog

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

+3-1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ def verify(element)
3030
end
3131

3232
t 'finds_exact' do
33-
verify finds_exact uibutton_text
33+
elements = finds_exact uibutton_text
34+
elements.is_a?(Array).must_equal true
35+
verify elements
3436
end
3537
end

0 commit comments

Comments
 (0)