Sha256: 3714a320cf6bd1f530a7c5a3c0da57ddc38d27c6c96cbde0e5edae422715607d

Contents?: true

Size: 517 Bytes

Versions: 10

Compression:

Stored size: 517 Bytes

Contents

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

  t 'an element with class chain' do
    element = find_element :class_chain, 'XCUIElementTypeWindow/*/*/XCUIElementTypeStaticText'

    element.name.must_equal catalog
  end

  t 'elements with class chain' do
    elements = find_elements :class_chain, 'XCUIElementTypeWindow/*/*'

    elements.size.must_equal 2
    elements[0].name.must_equal catalog
    elements[1].name.must_be_nil
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
appium_lib-9.4.5 ios_tests/lib/ios/specs/ios/mobile_methods.rb
appium_lib-9.4.4 ios_tests/lib/ios/specs/ios/mobile_methods.rb
appium_lib-9.4.3 ios_tests/lib/ios/specs/ios/mobile_methods.rb
appium_lib-9.4.2 ios_tests/lib/ios/specs/ios/mobile_methods.rb
appium_lib-9.4.1 ios_tests/lib/ios/specs/ios/mobile_methods.rb
appium_lib-9.4.0 ios_tests/lib/ios/specs/ios/mobile_methods.rb
appium_lib-9.3.8 ios_tests/lib/ios/specs/ios/mobile_methods.rb
appium_lib-9.3.7 ios_tests/lib/ios/specs/ios/mobile_methods.rb
appium_lib-9.3.6 ios_tests/lib/ios/specs/ios/mobile_methods.rb
appium_lib-9.3.5 ios_tests/lib/ios/specs/ios/mobile_methods.rb