Class: AnnouncementsMerge

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

Overview

Show Announcements from Another Site. On this page you select what announcements you want to merge into the current Site.

Instance Method Summary collapse

Methods inherited from BasePage

basic_page_elements, frame_element

Instance Method Details

#check(site_name) ⇒ Object

Checks the checkbox for the specified site name

Parameters:

  • site_name (String)

    the name of the relevant site displayed in the table



75
76
77
# File 'lib/sambal-cle/page_objects/announcements.rb', line 75

def check(site_name)
  frm.table(:class=>"listHier lines nolines").row(:text=>/#{Regexp.escape(site_name)}/).checkbox(:id=>/site/).set
end