Method: RUTL::Interface::Base#wait_for_transition
- Defined in:
- lib/rutl/interface/base.rb
#wait_for_transition(target_states) ⇒ Object
Calls the polling utility mathod await() with a lambda trying to find the next state, probably a View class.
77 78 79 80 81 82 83 |
# File 'lib/rutl/interface/base.rb', line 77 def wait_for_transition(target_states) # # TODO: Should also see if there are other things to wait for. # I don't think this is doing view load time. # await -> { find_state target_states } end |