ios_tests/lib/ios/specs/ios/element/textfield.rb in appium_lib-9.0.0 vs ios_tests/lib/ios/specs/ios/element/textfield.rb in appium_lib-9.1.0

- old
+ new

@@ -32,10 +32,10 @@ values.include?('<enter password>').must_equal true textfields.length.must_equal 4 end t 'predicate textfields' do - fail NotImplementedError, "XCUITest(Appium1.6.2) doesn't support UIAutomation script" if UI::Inventory.xcuitest? + raise NotImplementedError, "XCUITest(Appium1.6.2) doesn't support UIAutomation script" if UI::Inventory.xcuitest? textfield_count = execute_script(%(au.mainApp().getAllWithPredicate("type contains[c] 'textfield'", true))).length textfield_count.must_equal 4 end