Module: Profile2Nav

Defined in:
lib/kuali-sakai-common-lib/profile2.rb

Overview

Profile2 Pages

Instance Method Summary collapse

Instance Method Details

#connectionsObject



22
23
24
25
# File 'lib/kuali-sakai-common-lib/profile2.rb', line 22

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

#messagesObject



32
33
34
35
# File 'lib/kuali-sakai-common-lib/profile2.rb', line 32

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

#my_profileObject



17
18
19
20
# File 'lib/kuali-sakai-common-lib/profile2.rb', line 17

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

#picturesObject



27
28
29
30
# File 'lib/kuali-sakai-common-lib/profile2.rb', line 27

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

#preferencesObject



7
8
9
10
# File 'lib/kuali-sakai-common-lib/profile2.rb', line 7

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

#privacyObject



12
13
14
15
# File 'lib/kuali-sakai-common-lib/profile2.rb', line 12

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

#search_for_connectionsObject



37
38
39
40
# File 'lib/kuali-sakai-common-lib/profile2.rb', line 37

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