Class: RwikiBase

Inherits:
BasePage show all
Defined in:
lib/sambal-cle/page_objects/rwiki.rb

Direct Known Subclasses

Rwiki

Class Method Summary collapse

Methods inherited from BasePage

basic_page_elements, button, damballa, frame_element, link

Class Method Details



5
6
7
8
9
10
11
12
13
14
# File 'lib/sambal-cle/page_objects/rwiki.rb', line 5

def menu_elements
  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