Class: HoldBase

Inherits:
BasePage show all
Defined in:
lib/sambal-kuali/base_page_classes.rb

Direct Known Subclasses

AddHold, HoldLookup

Class Method Summary collapse

Methods inherited from BasePage

frame_element, green_search_buttons, validation_elements, wrapper_elements

Class Method Details

.hold_elementsObject



142
143
144
145
146
147
148
# File 'lib/sambal-kuali/base_page_classes.rb', line 142

def hold_elements
  element(:hold_name) { |b| b.frm.text_field(name: "name") }
  element(:category_name) { |b| b.frm.select(name: "typeKey") }
  element(:phrase) { |b| b.frm.text_field(name: "descr") }
  element(:owning_organization) { |b| b.frm.text_field(name: "id") }
  action(:lookup_owning_org) { |b| b.frm.button(title:"Search Field").click; b.loading.wait_while_present }
end