Class: SyllabusBase

Inherits:
BasePage show all
Defined in:
lib/sakai-cle-test-api/page_objects/syllabus.rb

Overview

Syllabus pages in a Site

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



12
13
14
15
16
17
# File 'lib/sakai-cle-test-api/page_objects/syllabus.rb', line 12

def menu_elements
  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