Class: SiteSetupBase

Inherits:
BasePage
  • Object
show all
Defined in:
lib/sambal-cle/page_objects/site_setup.rb

Overview

This module contains the methods referring to the menu items across the top of all the Site Editor pages.

Class Method Summary collapse

Methods inherited from BasePage

basic_page_elements, button, damballa, frame_element, link

Class Method Details



13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# File 'lib/sambal-cle/page_objects/site_setup.rb', line 13

def menu_elements
  # Clicks the Edit Tools link, then
  # instantiates the EditSiteTools class.
  #action(:edit_tools) {|b| b.frm.link(:text=>"Edit Tools").click }
  link("Edit Tools")
  # Clicks the Manage Groups link and
  # instantiates the Groups Class.
  #action(:manage_groups) {|b| b.frm.link(:text=>"Manage Groups").click }
  link("Manage Groups")
  # Clicks the Duplicate Site link and instantiates
  # the DuplicateSite class.
  #action(:duplicate_site) {|b| b.frm.link(:text=>"Duplicate Site").click }
  link("Duplicate Site")
  #action(:add_participants) {|b| b.frm.link(:text=>"Add Participants").click }
  link("Add Participants")

end