Class: HoldLookup
Instance Method Summary
collapse
Methods inherited from HoldBase
hold_elements
Methods inherited from BasePage
frame_element, green_search_buttons, validation_elements, wrapper_elements
Instance Method Details
#delete(name) ⇒ Object
24
25
26
27
28
|
# File 'lib/sambal-kuali/pages/hold_lookup.rb', line 24
def delete(name)
target_row(name).link(text: "Delete").click
alert.ok
loading.wait_while_present
end
|
#edit(name) ⇒ Object
19
20
21
22
|
# File 'lib/sambal-kuali/pages/hold_lookup.rb', line 19
def edit(name)
target_row(name).link(text: "Edit").click
loading.wait_while_present
end
|
#target_row(name) ⇒ Object
30
31
32
|
# File 'lib/sambal-kuali/pages/hold_lookup.rb', line 30
def target_row(name)
results_table.row(text: /#{Regexp.escape(name)}/)
end
|
#view(name) ⇒ Object
14
15
16
17
|
# File 'lib/sambal-kuali/pages/hold_lookup.rb', line 14
def view(name)
target_row(name).link(text: "View").click
loading.wait_while_present
end
|