Module: SearchBar
- Includes:
- PageObject
- Included in:
- ExploreAll, ExploreContent, ExploreCourses, ExploreGroups, ExplorePeople, ExploreResearch
- Defined in:
- lib/sakai-oae-test-api/toolbars_and_menus.rb
Overview
The Search field that will appear above some list pages
Instance Method Summary collapse
-
#search_for=(text) ⇒ Object
(also: #search=, #search, #search_for, #find, #find=)
Enters the specified text string in the search field.
Methods included from PageObject
#method_missing, #name_li, #name_link
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class PageObject
Instance Method Details
#search_for=(text) ⇒ Object Also known as: search=, search, search_for, find, find=
Enters the specified text string in the search field. Includes a trailing line feed character so that the search will occur immediately, meaning you don’t have to include a line in the script for clicking on the search button.
640 641 642 643 |
# File 'lib/sakai-oae-test-api/toolbars_and_menus.rb', line 640 def search_for=(text) self.text_field(:id=>"search_text").set("#{text}\n") self.wait_for_ajax end |