Class: ExploreGroups

Inherits:
Object
  • Object
show all
Includes:
GlobalMethods, HeaderFooterBar, LeftMenuBarSearch, ListGroups, ListWidget, PageObject, SearchBar
Defined in:
lib/sakai-oae-test-api/page_classes.rb

Overview

Methods related to the Groups search page.

Instance Method Summary collapse

Methods included from SearchBar

#search_for=

Methods included from PageObject

#method_missing, #name_li, #name_link

Methods included from ListGroups

#add_group, #check_group, #content_item_count, #group_type, #join_button_for, #message_button, #message_course, #participants_count, #remove_membership, #remove_membership_button, #view_group_participants

Methods included from ListWidget

#last_updated, #results_list

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_headerObject

Returns the results header title (the text prior to the count of the results returned)



527
528
529
530
# File 'lib/sakai-oae-test-api/page_classes.rb', line 527

def results_header
  top = self.div(:id=>"searchgroups_widget", :index=>0)
  top.div(:id=>"results_header").span(:id=>"searchgroups_type_title").text
end