ios_tests/lib/ios/specs/common/helper.rb in appium_lib-9.2.0 vs ios_tests/lib/ios/specs/common/helper.rb in appium_lib-9.3.0
- old
+ new
@@ -144,10 +144,10 @@
t 'first_ele' do
first_ele(UI::Inventory.static_text).name.must_equal 'UICatalog'
end
t 'last_ele' do
- expected = UI::Inventory.xcuitest? ? 'Shows UIViewAnimationTransitions' : 'Transitions'
+ expected = 'Transitions'
el = last_ele(UI::Inventory.static_text)
el.text.must_equal expected
el.name.must_equal expected
end