Module: PreviewAnnouncementsMethods
- Defined in:
- lib/kuali-sakai-common-lib/announcements.rb
Overview
Contains the common page elements for the Announcements Preview page
Instance Method Summary collapse
-
#edit ⇒ Object
Clicks the Edit button and returns the AddEditAnnouncements class.
-
#return_to_list ⇒ Object
Clicks the Return to list button and returns the Announcements class.
-
#save_changes ⇒ Object
Clicks the Save changes button and returns the Announcements class.
Instance Method Details
#edit ⇒ Object
Clicks the Edit button and returns the AddEditAnnouncements class.
105 106 107 108 |
# File 'lib/kuali-sakai-common-lib/announcements.rb', line 105 def edit frm.(:value=>"Edit").click AddEditAnnouncements.new(@browser) end |
#return_to_list ⇒ Object
Clicks the Return to list button and returns the Announcements class.
93 94 95 96 |
# File 'lib/kuali-sakai-common-lib/announcements.rb', line 93 def return_to_list frm.(:value=>"Return to List").click Announcements.new(@browser) end |
#save_changes ⇒ Object
Clicks the Save changes button and returns the Announcements class.
99 100 101 102 |
# File 'lib/kuali-sakai-common-lib/announcements.rb', line 99 def save_changes frm.(:value=>"Save Changes").click Announcements.new(@browser) end |