Class: ViewModuleList

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

Overview

This is the Instructor’s preview of the Student’s view of the list of Lesson Modules.

Instance Method Summary collapse

Methods inherited from LessonsBase

menu_elements

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

#open_lesson(name) ⇒ Object

LessonStudentSide



131
132
133
# File 'lib/sakai-cle-test-api/page_objects/lessons.rb', line 131

def open_lesson(name)
  frm.link(:text=>name).click
end

#open_section(name) ⇒ Object

SectionStudentSide



136
137
138
# File 'lib/sakai-cle-test-api/page_objects/lessons.rb', line 136

def open_section(name)
  frm.link(:text=>name).click
end