Sha256: 3cb8a835d12dc49c285b184694e040b7fed73047e436277bf4b2e443c22df999
Contents?: true
Size: 688 Bytes
Versions: 2
Compression:
Stored size: 688 Bytes
Contents
module SharedBaseAppScreen include WorldData include WorldPages def nav_menu_action(action) case action.downcase.to_sym when :open invoke_nav_menu when :close nav_menu.close if nav_menu.visible? else raise "#{action} is not a valid selector" end end def navigate_to invoke_nav_menu navigator end def verify_nav_menu(state) case state.downcase.to_sym when :closed nav_menu.verify_closed when :displayed nav_menu.verify_ui else raise "#{action} is not a valid selector" end end def modal_action(action) alert_modal.await_and_respond(action.downcase.to_sym, timeout = 1) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
testcentricity-3.0.4 | features/support/shared_components/screens/base_app_screen.rb |
testcentricity-3.0.3 | features/support/shared_components/screens/base_app_screen.rb |