Sha256: 54dca5be4313a5893dcf146c2fe48839c034c84a3b66259864343f36658c3f82
Contents?: true
Size: 773 Bytes
Versions: 64
Compression:
Stored size: 773 Bytes
Contents
require 'ops_manager_ui_drivers/wait_helper' require 'ops_manager_ui_drivers/animation_helper' module OpsManagerUiDrivers module Version17 class AvailableProducts include AnimationHelper def initialize(browser:) @browser = browser end def add_product_to_install(product_name) browser.visit '/' disable_css_transitions! browser.find("ul.product-list li.#{product_name}.product").hover browser.click_on "add-#{product_name}" browser.find("#show-#{product_name}-configure-action") 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
64 entries across 64 versions & 1 rubygems