Class: Sites
- Defined in:
- lib/sambal-cle/page_objects/sites.rb
Overview
Sites page - arrived at via the link with class=“icon-sakai-sites”
Instance Method Summary collapse
-
#edit_site_id(id) ⇒ Object
Clicks the specified Site in the list, using the specified id value to determine which item to click.
Methods inherited from BasePage
basic_page_elements, button, damballa, frame_element, link
Instance Method Details
#edit_site_id(id) ⇒ Object
Clicks the specified Site in the list, using the specified id value to determine which item to click. It then instantiates the EditSiteInfo page class. Use this method when you know the target site ID.
19 20 21 22 23 |
# File 'lib/sambal-cle/page_objects/sites.rb', line 19 def edit_site_id(id) frm.text_field(:id=>"search_site").value=id frm.link(:text=>"Site ID").click frm.link(:text, id).click end |