Sha256: 0545cbd4faa5b3f67283618f28887af94d0d7e692e40b1f7ef7d427cff972cb3
Contents?: true
Size: 672 Bytes
Versions: 28
Compression:
Stored size: 672 Bytes
Contents
module OpsManagerUiDrivers module Version17 class AvailableProducts def initialize(browser:) @browser = browser end def add_product_to_install(product_name) browser.visit '/' browser.click_on "add-#{product_name}" browser.find("#show-#{product_name.dasherize}-configure-action", wait: 10) end def product_added?(product_name) browser.visit '/' browser.all("#show-#{product_name.dasherize}-configure-action").any? end private attr_reader :browser def dasherized_product_name(product_name) product_name.to_s.gsub(/[_]/, '-') end end end end
Version data entries
28 entries across 28 versions & 1 rubygems