Method: SpecMonitor#check_menu

Defined in:
lib/test_case/monitoring/spec_monitor.rb

#check_menuObject



69
70
71
72
73
74
75
76
# File 'lib/test_case/monitoring/spec_monitor.rb', line 69

def check_menu
  log_hash('spec_menu ', @health_hash)
  spectrum_main_menu = roi_resolution(spectrum_menu_mylibrary, dut.height, dut.width)
  # Lots of errors reported due to wrong plat rather than device issue.
  unless spectrum_main_menu.wait_until_displayed?(15_000, key: 'menu')
    set_err_result(@health_hash, 'Unable to nav to menu. Check platform or device health', 'SP3.1') 
  end
end