ios_tests/lib/ios/specs/ios/element/button.rb in appium_lib-9.1.2 vs ios_tests/lib/ios/specs/ios/element/button.rb in appium_lib-9.1.3
- old
+ new
@@ -27,10 +27,10 @@
button('ray').name.must_equal gray
end
t 'buttons' do
exp = ['Back', 'Back', 'Gray', 'Right pointing arrow']
- exp.concat ['Custom Text', 'More info', 'More info', 'More info', 'Add contact'] if UI::Inventory.xcuitest?
+ exp.concat ['Add contact'] if UI::Inventory.xcuitest?
target_buttons = buttons('a')
target_buttons.map(&:name).must_equal exp
target_buttons.length.must_equal exp.length
end