Class: LessonsBase

Inherits:
BasePage
  • Object
show all
Defined in:
lib/sambal-cle/page_objects/lessons.rb

Overview

Contains items common to most Lessons pages.

Class Method Summary collapse

Methods inherited from BasePage

basic_page_elements, button, damballa, frame_element, link

Class Method Details



12
13
14
15
16
17
18
19
20
# File 'lib/sambal-cle/page_objects/lessons.rb', line 12

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