Class: LessonsBase
- Defined in:
- lib/sambal-cle/page_objects/lessons.rb
Overview
Contains items common to most Lessons pages.
Direct Known Subclasses
AddEditContentSection, AddEditModule, ConfirmModule, ConfirmSectionAdd, LessonAddAttachment, LessonImportExport, LessonManage, LessonManageContent, LessonManageSort, LessonPreferences, LessonStudentSide, Lessons, SectionStudentSide, SelectingContent, ViewModule, ViewModuleList
Class Method Summary collapse
Methods inherited from BasePage
basic_page_elements, button, damballa, frame_element, link
Class Method Details
.menu_elements ⇒ Object
12 13 14 15 16 17 18 19 20 |
# File 'lib/sambal-cle/page_objects/lessons.rb', line 12 def # Clicks on the Preferences link on the Lessons page, # next is the LessonPreferences class. action(:preferences) { |b| b.frm.link(:text=>"Preferences").click } action(:view) { |b| b.frm.link(:text=>"View").click } action(:manage) { |b| b.frm.link(:text=>"Manage").click } end |