ios_tests/lib/run.rb in appium_lib-1.0.0 vs ios_tests/lib/run.rb in appium_lib-2.0.0
- old
+ new
@@ -32,10 +32,10 @@
screen.must_equal catalog
end
def go_to_textfields
screen.must_equal catalog
- wait_true { s_text('textfield').click; screen == 'TextFields' } # wait for screen transition
+ wait_true { text('textfield').click; screen == 'TextFields' } # wait for screen transition
screen.must_equal 'TextFields'
end
def screen
$driver.find_element(:class, 'UIANavigationBar').name
\ No newline at end of file