Class: ExploreContent
- Inherits:
-
Object
- Object
- ExploreContent
- Includes:
- GlobalMethods, HeaderFooterBar, LeftMenuBarSearch, ListContent, ListWidget, PageObject, SearchBar
- Defined in:
- lib/sakai-oae-test-api/page_classes.rb
Overview
Methods related to the page for searching Content.
Instance Method Summary collapse
-
#results_header ⇒ Object
Returns the results header title (the text prior to the count of the results returned).
Methods included from SearchBar
Methods included from PageObject
#method_missing, #name_li, #name_link
Methods included from ListContent
#add_to_library, #comments_count, #content_description, #content_owner, #content_tags, #content_type, #delete, #search_by_tag, #share, #thumbnail, #used_in_count, #view_owner_of
Methods included from ListWidget
Methods included from HeaderFooterBar
#acknowledgements, #add_collection, #add_content, #browse_footer, #browse_footer_link, #change_language, #change_location, #click_link, #explore_footer, #explore_footer_link, #login, #messages_container, #my_account, #sign_out, #sign_up, #toggle_collector, #user_agreement
Methods included from GlobalMethods
#close_notification, #menu_item, #open_page, #view_person
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class PageObject
Instance Method Details
#results_header ⇒ Object
Returns the results header title (the text prior to the count of the results returned)
487 488 489 490 491 |
# File 'lib/sakai-oae-test-api/page_classes.rb', line 487 def results_header top = self.div(:class=>"searchcontent_content_main") top.div(:id=>"results_header").span.text =~ /^.+(?=.\()/ $~.to_s end |