-
Notifications
You must be signed in to change notification settings - Fork 369
Deprecated
Joshua Moody edited this page May 26, 2014
·
9 revisions
These functions, methods, or cucumber steps have been deprecated and their use is no longer supported.
Functions, methods, and cucumber steps will now generate warning messages.
Deprecated ENV
variables are usually supported for a couple of versions for backward compatibility, but once they appear in this list, their days are numbered.
To suppress deprecated warnings set ENV['CALABASH_NO_DEPRECATION']=1
. This is not recommended.
- since 0.9.131
query_all
- usequery("view all")
- see Query Syntax - since 0.9.145
set_text
- usekeyboard_enter_text
or (sparingly)clear_text
- since 0.9.151
When I clear "some text field"
- no replacement - since 0.9.153
OS
environmental variable has been deprecated - useDEVICE_TARGET
instead - since 0.9.163
await_keyboard
- usewait_for_keyboard
- since 0.9.163
keyboard_enter_char
second argshould_screenshot
has been replaced by an options hash. Use the:should_screenshot
key instead - since 0.9.163
send_uia_command
- useuia("...javascript..", options)
instead. This has not been formally deprecated (no warnings will be generated) yet, but it will be in a future version. - since 0.9.168
iphone_5?
andDevice::iphone_5?
- useiphone_4in?
- since 0.9.168
SDK_VERSION
environment variable has been deprecated - useDEVICE_TARGET
- since 0.9.169
Calabash::Cucumber::FRAMEWORK_VERSION
- no replacement - now returns nil - since 0.9.169
Calabash::Cucumber::Device.framework_version
- useserver_version
instead - since 0.9.169
Calabash::Cucumber::SimulatorHelper
module - useCalabash::Cucumber::SimulatorLauncher
instead. The following were not ported over to the new module:get_version
ios_version
ios_major_version
version_check