Sha256: c58a25dc7c30467b19f5cd3d0dde85fa6e03dc3ee941c49118611e436fa89d31
Contents?: true
Size: 658 Bytes
Versions: 12
Compression:
Stored size: 658 Bytes
Contents
require 'ops_manager_ui_drivers/wait_helper' module OpsManagerUiDrivers module Version17 class AvailableProducts include WaitHelper def initialize(browser:) @browser = browser end def add_product_to_install(product_name) browser.visit '/' poll_up_to_times 3 do browser.click_on "add-#{product_name}" browser.find("#show-#{product_name}-configure-action") end end def product_added?(product_name) browser.visit '/' browser.all("#show-#{product_name}-configure-action").any? end private attr_reader :browser end end end
Version data entries
12 entries across 12 versions & 1 rubygems