Class: ActivityOfferingMaintenance
Constant Summary
collapse
- PERS_ACTION_COLUMN =
4
- SEATS_ACTION_COLUMN =
5
ActivityOfferingMaintenanceBase::AFFILIATION_COLUMN, ActivityOfferingMaintenanceBase::DAYS_COLUMN, ActivityOfferingMaintenanceBase::END_TIME_COLUMN, ActivityOfferingMaintenanceBase::EXP_MILESTONE_COLUMN, ActivityOfferingMaintenanceBase::FACILITY_COLUMN, ActivityOfferingMaintenanceBase::FEATURES_COLUMN, ActivityOfferingMaintenanceBase::ID_COLUMN, ActivityOfferingMaintenanceBase::INST_EFFORT_COLUMN, ActivityOfferingMaintenanceBase::PERCENT_COLUMN, ActivityOfferingMaintenanceBase::PERS_NAME_COLUMN, ActivityOfferingMaintenanceBase::POP_NAME_COLUMN, ActivityOfferingMaintenanceBase::PRIORITY_COLUMN, ActivityOfferingMaintenanceBase::ROOM_COLUMN, ActivityOfferingMaintenanceBase::SEATS_COLUMN, ActivityOfferingMaintenanceBase::ST_TIME_COLUMN, ActivityOfferingMaintenanceBase::TBA_COLUMN
Instance Method Summary
collapse
adl_table_accessor_maker, #get_affiliation, #pool_percentage, rdl_table_accessor_maker
Methods inherited from BasePage
frame_element, green_search_buttons, validation_elements, wrapper_elements
Instance Method Details
#delete_id(id) ⇒ Object
31
32
33
34
|
# File 'lib/sambal-kuali/pages/activity_offering_maintenance.rb', line 31
def delete_id(id)
target_person_row(id).button.click
loading.wait_while_present
end
|
#get_expiration_milestone(pop_name) ⇒ Object
79
80
81
|
# File 'lib/sambal-kuali/pages/activity_offering_maintenance.rb', line 79
def get_expiration_milestone(pop_name)
target_pool_row(pop_name).cells[EXP_MILESTONE_COLUMN].select.selected_options[0].text end
|
#get_inst_effort(id) ⇒ Object
19
20
21
|
# File 'lib/sambal-kuali/pages/activity_offering_maintenance.rb', line 19
def get_inst_effort(id)
target_person_row(id).cells[INST_EFFORT_COLUMN].text_field.value
end
|
#get_priority(pop_name) ⇒ Object
71
72
73
|
# File 'lib/sambal-kuali/pages/activity_offering_maintenance.rb', line 71
def get_priority(pop_name)
target_pool_row(pop_name).cells[PRIORITY_COLUMN].text_field.value end
|
#get_seats(pop_name) ⇒ Object
75
76
77
|
# File 'lib/sambal-kuali/pages/activity_offering_maintenance.rb', line 75
def get_seats(pop_name)
target_pool_row(pop_name).cells[SEATS_COLUMN].text_field.value end
|
#remove_seatpool(pop_name) ⇒ Object
54
55
56
57
|
# File 'lib/sambal-kuali/pages/activity_offering_maintenance.rb', line 54
def remove_seatpool(pop_name)
target_pool_row(pop_name).button(text: "remove").click
loading.wait_while_present
end
|
#update_affiliation(id, affiliation) ⇒ Object
23
24
25
|
# File 'lib/sambal-kuali/pages/activity_offering_maintenance.rb', line 23
def update_affiliation(id, affiliation)
target_person_row(id).select affiliation
end
|
#update_expiration_milestone(pop_name, milestone) ⇒ Object
67
68
69
|
# File 'lib/sambal-kuali/pages/activity_offering_maintenance.rb', line 67
def update_expiration_milestone(pop_name, milestone)
target_pool_row(pop_name).cells[EXP_MILESTONE_COLUMN].select.select(milestone)
end
|
#update_inst_effort(id, effort) ⇒ Object
27
28
29
|
# File 'lib/sambal-kuali/pages/activity_offering_maintenance.rb', line 27
def update_inst_effort(id, effort)
target_person_row(id).text_field.set effort
end
|
#update_priority(pop_name, priority) ⇒ Object
59
60
61
|
# File 'lib/sambal-kuali/pages/activity_offering_maintenance.rb', line 59
def update_priority(pop_name, priority)
target_pool_row(pop_name).text_field(name: /processingPriority/).set priority
end
|
#update_seats(pop_name, seats) ⇒ Object
63
64
65
|
# File 'lib/sambal-kuali/pages/activity_offering_maintenance.rb', line 63
def update_seats(pop_name, seats)
target_pool_row(pop_name).text_field(name: /seatLimit/).set seats
end
|