Method: SpecMonitor#nav_equip_info

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


91
92
93
94
95
96
97
98
99
100
101
102
103
# File 'lib/test_case/monitoring/spec_monitor.rb', line 91

def nav_equip_info
  6.times { dut.press_key('down_arrow', sleep_time: 1.sec) }
# would like to have it check for ROI in future

  dut.press_key('select', sleep_time: 1.sec)
  @account_inf_roi.wait_until_displayed?(8000)
  dut.press_key('right_arrow', sleep_time: 2.sec)
  dut.press_key('select', sleep_time: 1.sec)
  @equip_inf_roi.wait_until_displayed?(8000)    
  @health_hash[:device_id] = @dev_id_roi.retrieve
  @health_hash[:screenshot_1] = take_screenshot
  dut.press_key('last', :sleep_time=>0.sec)
  @account_inf_roi.wait_until_displayed?(8000)
end