Class: MyWorkspace
- Defined in:
- lib/sambal-cle/page_objects/my_workspace.rb
Overview
The Page that appears when you are not in a particular Site Note that this page differs depending on what user is logged in. The definitions below include all potential objects. We may have to split this class out into user-specific classes.
Instance Method Summary collapse
-
#calendar_events ⇒ Object
Returns an array of strings of the Calendar Events listed below the Calendar.
Methods inherited from BasePage
basic_page_elements, button, damballa, frame_element, link
Instance Method Details
#calendar_events ⇒ Object
Returns an array of strings of the Calendar Events listed below the Calendar
35 36 37 38 39 40 41 42 43 |
# File 'lib/sambal-cle/page_objects/my_workspace.rb', line 35 def calendar_events events = [] table = @browser.frame(:class=>"portletMainIframe", :index=>2).table(:id=>"calendarForm:datalist_event_list") table.wait_until_present table.rows.each do |row| events << row.link.text end return events end |