Sha256: 076edb944040fdd10744339d68d06d2d0f92e10afca7c3cb5a6dc7a130f0ed45
Contents?: true
Size: 670 Bytes
Versions: 4
Compression:
Stored size: 670 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.type 'ok' ele.text.must_equal 'ok' end t 'after_last' do after_last end end
Version data entries
4 entries across 4 versions & 1 rubygems