Class: SiteSetupParticipantConfirm
- Inherits:
-
SiteSetupBase
- Object
- PageMaker
- BasePage
- SiteSetupBase
- SiteSetupParticipantConfirm
- Defined in:
- lib/sakai-cle-test-api/page_objects/site_setup.rb
Overview
The confirmation page showing site participants and their set roles
Instance Method Summary collapse
- #finish ⇒ Object
-
#id(name) ⇒ Object
Returns the value of the id field for the specified name.
-
#role(name) ⇒ Object
Returns the value of the Role field for the specified name.
Methods inherited from SiteSetupBase
Methods inherited from BasePage
basic_page_elements, frame_element
Methods inherited from PageMaker
element, expected_element, expected_title, #initialize, #method_missing, page_url
Constructor Details
This class inherits a constructor from PageMaker
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class PageMaker
Instance Method Details
#finish ⇒ Object
291 292 293 294 |
# File 'lib/sakai-cle-test-api/page_objects/site_setup.rb', line 291 def finish frm.(:value=>"Finish").click SiteEditor.new(@browser) end |
#id(name) ⇒ Object
Returns the value of the id field for the specified name.
297 298 299 |
# File 'lib/sakai-cle-test-api/page_objects/site_setup.rb', line 297 def id(name) frm.table(:class=>"listHier").row(:text=>/#{Regexp.escape(name)}/)[1].text end |
#role(name) ⇒ Object
Returns the value of the Role field for the specified name.
302 303 304 |
# File 'lib/sakai-cle-test-api/page_objects/site_setup.rb', line 302 def role(name) frm.table(:class=>"listHier").row(:text=>/#{Regexp.escape(name)}/)[2].text end |