Class: ViewModule
- Inherits:
-
LessonsBase
- Object
- PageFactory
- BasePage
- LessonsBase
- ViewModule
- Defined in:
- lib/sambal-cle/page_objects/lessons.rb
Overview
The student user’s view of a Lesson Module or Section.
Instance Method Summary collapse
Methods inherited from LessonsBase
Methods inherited from BasePage
basic_page_elements, button, damballa, frame_element, link
Instance Method Details
#content_include?(content) ⇒ Boolean
104 105 106 |
# File 'lib/sambal-cle/page_objects/lessons.rb', line 104 def content_include?(content) frm.form(:id=>"viewsectionStudentform").text.include?(content) end |
#sections_list ⇒ Object
90 91 92 93 94 |
# File 'lib/sambal-cle/page_objects/lessons.rb', line 90 def sections_list list = [] frm.table(:id=>"viewmoduleStudentform:tablesec").links.each { |link| list << link.text } return list end |