Class: Profile2Base

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

Class Method Summary collapse

Methods inherited from BasePage

basic_page_elements, button, damballa, frame_element, link

Class Method Details

.profile2_elementsObject



7
8
9
10
11
12
13
14
15
# File 'lib/sambal-cle/page_objects/profile2.rb', line 7

def profile2_elements
  action(:preferences) { |b| b.frm.link(:class=>"icon preferences").click }
  link "Privacy"
  link "My profile"
  action(:connections) { |b| b.frm.link(:class=>"icon connections").click }
  link "Pictures"
  link "Messages"
  action(:search_for_connections) { |b| b.frm.link(:class=>"icon search").click }
end