Sha256: e0f72cc8e4b89c8be7e07e1b31aecc1344850f6f9c60550f8900cd751065d5a4

Contents?: true

Size: 554 Bytes

Versions: 10

Compression:

Stored size: 554 Bytes

Contents

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

  def uibutton_text
    'Buttons'
  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

10 entries across 10 versions & 1 rubygems

Version Path
appium_lib-9.1.1 ios_tests/lib/ios/specs/ios/element/generic.rb
appium_lib-9.1.0 ios_tests/lib/ios/specs/ios/element/generic.rb
appium_lib-9.0.0 ios_tests/lib/ios/specs/ios/element/generic.rb
appium_lib-8.2.1 ios_tests/lib/ios/specs/ios/element/generic.rb
appium_lib-8.2.0 ios_tests/lib/ios/specs/ios/element/generic.rb
appium_lib-8.1.0 ios_tests/lib/ios/specs/ios/element/generic.rb
appium_lib-8.0.2 ios_tests/lib/ios/specs/ios/element/generic.rb
appium_lib-8.0.1 ios_tests/lib/ios/specs/ios/element/generic.rb
appium_lib-8.0.0 ios_tests/lib/ios/specs/ios/element/generic.rb
appium_lib-7.0.0 ios_tests/lib/ios/specs/ios/element/generic.rb