songkick/rubium-ios

View on GitHub
lib/ui_automation/popover.rb

Summary

Maintainability
A
0 mins
Test Coverage
module UIAutomation
  # A RemoteProxy to UIAPopover objects in the Javascript API.
  #
  # @see https://developer.apple.com/library/ios/documentation/ToolsLanguages/Reference/UIAPopoverClassReference/
  #
  class Popover < Element
    ### @!group Elements

    # The action sheet contained by the popover
    has_element :actionSheet, type: UIAutomation::ActionSheet
    
    # The navigation bar contained by the popover
    has_element :navigationBar, type: UIAutomation::NavigationBar
    
    # The tab bar contained by the popover
    has_element :tabBar, type: UIAutomation::TabBar
    
    # The toolbar contained by the popover
    has_element :toolbar

    ### @!endgroup
  end
end