Module: Profile2Nav

Included in:
Profile2, Profile2Connections, Profile2Preferences, Profile2Privacy, Profile2Search, Profile2View
Defined in:
lib/sakai-cle-test-api/page_objects/profile2.rb

Instance Method Summary collapse

Instance Method Details

#connectionsObject



18
19
20
21
# File 'lib/sakai-cle-test-api/page_objects/profile2.rb', line 18

def connections
  frm.link(:class=>"icon connections").click
  Profile2Connections.new @browser
end

#messagesObject



28
29
30
31
# File 'lib/sakai-cle-test-api/page_objects/profile2.rb', line 28

def messages
  frm.link(:text=>"Messages").click
  Profile2Messages.new @browser
end

#my_profileObject



13
14
15
16
# File 'lib/sakai-cle-test-api/page_objects/profile2.rb', line 13

def my_profile
  frm.link(:text=>"My profile").click
  Profile2.new(@browser)
end

#picturesObject



23
24
25
26
# File 'lib/sakai-cle-test-api/page_objects/profile2.rb', line 23

def pictures
  frm.link(:text=>"Pictures").click
  Profile2Pictures.new @browser
end

#preferencesObject



3
4
5
6
# File 'lib/sakai-cle-test-api/page_objects/profile2.rb', line 3

def preferences
  frm.link(:class=>"icon preferences").click
  Profile2Preferences.new @browser
end

#privacyObject



8
9
10
11
# File 'lib/sakai-cle-test-api/page_objects/profile2.rb', line 8

def privacy
  frm.link(:text=>"Privacy").click
  Profile2Privacy.new @browser
end

#search_for_connectionsObject



33
34
35
36
# File 'lib/sakai-cle-test-api/page_objects/profile2.rb', line 33

def search_for_connections
  frm.link(:class=>"icon search").click
  Profile2Search.new @browser
end