Module: OpsManagerUiDrivers::PageHelpers

Includes:
WaitHelper
Defined in:
lib/ops_manager_ui_drivers/page_helpers.rb

Constant Summary

Constants included from WaitHelper

WaitHelper::EarlyFailException, WaitHelper::SLEEP_INTERVAL

Instance Method Summary collapse

Methods included from WaitHelper

#fail_early, #poll_up_to_mins, #wait

Instance Method Details

#api_1_3(host:, username:, password:) ⇒ Object



19
20
21
# File 'lib/ops_manager_ui_drivers/page_helpers.rb', line 19

def api_1_3(host:, username:, password:)
  Version13::Api.new(host: host, user: username, password: password)
end

#api_1_4(host:, username:, password:) ⇒ Object



23
24
25
# File 'lib/ops_manager_ui_drivers/page_helpers.rb', line 23

def api_1_4(host:, username:, password:)
  Version14::Api.new(host: host, user: username, password: password)
end

#om_1_3(ops_manager_url) ⇒ Object



7
8
9
# File 'lib/ops_manager_ui_drivers/page_helpers.rb', line 7

def om_1_3(ops_manager_url)
  @om_1_3 ||= create_web_ui(ops_manager_url, Version13)
end

#om_1_4(ops_manager_url) ⇒ Object



11
12
13
# File 'lib/ops_manager_ui_drivers/page_helpers.rb', line 11

def om_1_4(ops_manager_url)
  @om_1_4 ||= create_web_ui(ops_manager_url, Version14)
end

#om_rc(ops_manager_url) ⇒ Object



15
16
17
# File 'lib/ops_manager_ui_drivers/page_helpers.rb', line 15

def om_rc(ops_manager_url)
  @om_1_5 ||= create_web_ui(ops_manager_url, Version15)
end