Sha256: 3e839bf08c4149efe7255023d8ba362734ff45cf34cf94ec28c78fe30f6694eb

Contents?: true

Size: 578 Bytes

Versions: 9

Compression:

Stored size: 578 Bytes

Contents

# rake ios['ios/element/generic']
describe 'ios/element/generic' do
  def before_first
    screen.must_equal catalog
  end

  def uibutton_text
    'Buttons, Various uses of UIButton'
  end

  def verify element
    element = element.first if element.is_a? Array
    element.name.must_equal uibutton_text
  end

  t 'before_first' do
    before_first
  end

  t 'find' do
    verify find 'tons'
  end

  t 'finds' do
    verify finds 'tons'
  end

  t 'find_exact' do
    verify find_exact uibutton_text
  end

  t 'finds_exact' do
    verify finds_exact uibutton_text
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
appium_lib-4.1.0 ios_tests/lib/ios/specs/ios/element/generic.rb
appium_lib-4.0.0 ios_tests/lib/ios/specs/ios/element/generic.rb
appium_lib-3.0.3 ios_tests/lib/ios/specs/ios/element/generic.rb
appium_lib-3.0.2 ios_tests/lib/ios/specs/ios/element/generic.rb
appium_lib-3.0.1 ios_tests/lib/ios/specs/ios/element/generic.rb
appium_lib-3.0.0 ios_tests/lib/ios/specs/ios/element/generic.rb
appium_lib-2.1.0 ios_tests/lib/ios/specs/ios/element/generic.rb
appium_lib-2.0.0 ios_tests/lib/ios/specs/ios/element/generic.rb
appium_lib-1.0.0 ios_tests/lib/ios/specs/ios/element/generic.rb