Module: EventFrequencyMethods
- Includes:
- PageObject
- Defined in:
- lib/kuali-sakai-common-lib/calendar.rb
Overview
The page that appears when the Frequency button is clicked on the Add/Edit Event page.
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.page_elements(identifier) ⇒ Object
336 337 338 339 340 341 342 343 344 345 346 347 348 |
# File 'lib/kuali-sakai-common-lib/calendar.rb', line 336 def self.page_elements(identifier) in_frame(identifier) do |frame| select_list(:event_frequency, :id=>"frequencySelect", :frame=>frame) select_list(:interval, :id=>"interval", :frame=>frame) select_list(:ends_after, :name=>"count", :frame=>frame) select_list(:ends_month, :id=>"endMonth", :frame=>frame) select_list(:ends_day, :id=>"endDay", :frame=>frame) select_list(:ends_year, :id=>"endYear", :frame=>frame) (:after, :id=>"count", :frame=>frame) (:on, :id=>"till", :frame=>frame) (:never, :id=>"never", :frame=>frame) end end |
Instance Method Details
#cancel ⇒ Object
331 332 333 334 |
# File 'lib/kuali-sakai-common-lib/calendar.rb', line 331 def cancel frm.(:value=>"Cancel").click AddEditEvent.new(@browser) end |
#save_frequency ⇒ Object
326 327 328 329 |
# File 'lib/kuali-sakai-common-lib/calendar.rb', line 326 def save_frequency frm.(:value=>"Save Frequency").click AddEditEvent.new(@browser) end |