Class: RwikiBase
- Defined in:
- lib/sakai-cle-test-api/page_objects/rwiki.rb
Direct Known Subclasses
Class Method Summary collapse
Methods inherited from BasePage
basic_page_elements, frame_element
Methods inherited from PageMaker
element, expected_element, expected_title, #initialize, #method_missing, page_url
Constructor Details
This class inherits a constructor from PageMaker
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class PageMaker
Class Method Details
.menu_elements ⇒ Object
5 6 7 8 9 10 11 12 13 14 |
# File 'lib/sakai-cle-test-api/page_objects/rwiki.rb', line 5 def action(:home) { |b| b.frm.link(id: "homelink").click } action(:view) { |b| b.frm.link(id: "viewLink").click } action(:edit) { |b| b.frm.link(id: "editLink").click } action(:info) { |b| b.frm.link(id: "infoLink").click } action(:history) { |b| b.frm.link(id: "historyLink").click } action(:watch) { |b| b.frm.link(id: "watchLink").click } element(:search_field) { |b| b.frm.text_field(id: "searchField") } element(:rss_link) { |b| b.frm.link(id: "rssLink") } end |