Sha256: ad25929e5f85d04ecef553883592fc4e0e90874c476ada59a376611f6b6ed220
Contents?: true
Size: 684 Bytes
Versions: 2
Compression:
Stored size: 684 Bytes
Contents
# rake ios[ios/patch] describe 'ios/patch' do def before_first screen.must_equal catalog go_to_textfields end def after_last leave_textfields end t 'before_first' do before_first end t 'label' do if UI::Inventory.xcuitest? # Order of the elements are: Normal, Rounded, Secure, Check find_element(:name, '<enter text>').label.must_equal 'Normal' else textfield('<enter text>').label.must_equal 'Rounded' end end t 'type' do # nav to textfield text('textfields').click ele = first_textfield ele.clear ele.type 'ok' ele.text.must_equal 'ok' end t 'after_last' do after_last end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
appium_lib-9.2.0 | ios_tests/lib/ios/specs/ios/patch.rb |
appium_lib-9.1.3 | ios_tests/lib/ios/specs/ios/patch.rb |