Class: SyllabusBase
- Defined in:
- lib/sakai-cle-test-api/page_objects/syllabus.rb
Overview
Syllabus pages in a Site
Direct Known Subclasses
AddEditSyllabusItem, CreateEditSyllabus, DeleteSyllabusItems, Syllabus, SyllabusEdit, SyllabusPreview, SyllabusRedirect
Class Method Summary collapse
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
Class Method Details
.menu_elements ⇒ Object
12 13 14 15 16 17 |
# File 'lib/sakai-cle-test-api/page_objects/syllabus.rb', line 12 def action(:create_edit) { |b| b.frm.link(:text=>"Create/Edit").click } action(:add) { |b| b.frm.link(:text=>"Add").click } action(:redirect) { |b| b.frm.link(:text=>"Redirect").click } action(:preview) { |b| b.frm.link(text: "Preview").click } end |