ios_tests/lib/ios/specs/ios/element/generic.rb in appium_lib-6.0.0 vs ios_tests/lib/ios/specs/ios/element/generic.rb in appium_lib-7.0.0
- old
+ new
@@ -6,10 +6,10 @@
def uibutton_text
'Buttons'
end
- def verify element
+ def verify(element)
element = element.first if element.is_a? Array
element.name.must_equal uibutton_text
end
t 'before_first' do