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
- #connections ⇒ Object
- #messages ⇒ Object
- #my_profile ⇒ Object
- #pictures ⇒ Object
- #preferences ⇒ Object
- #privacy ⇒ Object
- #search_for_connections ⇒ Object
Instance Method Details
#connections ⇒ Object
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 |
#messages ⇒ Object
28 29 30 31 |
# File 'lib/sakai-cle-test-api/page_objects/profile2.rb', line 28 def frm.link(:text=>"Messages").click Profile2Messages.new @browser end |
#my_profile ⇒ Object
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 |
#pictures ⇒ Object
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 |
#preferences ⇒ Object
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 |
#privacy ⇒ Object
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_connections ⇒ Object
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 |