Method: OdnMonitor#check_menu
- Defined in:
- lib/test_case/monitoring/odn_monitor.rb
#check_menu ⇒ Object
116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 |
# File 'lib/test_case/monitoring/odn_monitor.rb', line 116 def boot_wait = 430_000 # have to check for boot screen. # fails if software update takes too long. unless odn_boot.wait_until_not_displayed?(boot_wait) set_err_result(@health_hash, "Stuck on boot screen for over #{(boot_wait / 1000 / 60.0).floor(1)} minutes", 'O3.1' ) end dut.press_key('menu', sleep_time: 0) unless .wait_until_displayed?(30000) set_err_result(@health_hash, 'Unable to nav to menu. Check platform or device health', 'O3.2' ) end end |