Sha256: 555822f68ee64bf663604632f34e0a9231163d8e1d49f7029718df95fd36fea8

Contents?: true

Size: 571 Bytes

Versions: 114

Compression:

Stored size: 571 Bytes

Contents

module OpsManagerUiDrivers
  module Version15
    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

    end
  end
end

Version data entries

114 entries across 114 versions & 1 rubygems

Version Path
ops_manager_ui_drivers-2.42.0 lib/ops_manager_ui_drivers/version15/available_products.rb
ops_manager_ui_drivers-2.41.0 lib/ops_manager_ui_drivers/version15/available_products.rb
ops_manager_ui_drivers-2.40.1 lib/ops_manager_ui_drivers/version15/available_products.rb
ops_manager_ui_drivers-2.40.0 lib/ops_manager_ui_drivers/version15/available_products.rb
ops_manager_ui_drivers-2.39.0 lib/ops_manager_ui_drivers/version15/available_products.rb
ops_manager_ui_drivers-2.38.0 lib/ops_manager_ui_drivers/version15/available_products.rb
ops_manager_ui_drivers-2.37.0 lib/ops_manager_ui_drivers/version15/available_products.rb
ops_manager_ui_drivers-2.36.0 lib/ops_manager_ui_drivers/version15/available_products.rb
ops_manager_ui_drivers-2.35.2 lib/ops_manager_ui_drivers/version15/available_products.rb
ops_manager_ui_drivers-2.35.1 lib/ops_manager_ui_drivers/version15/available_products.rb
ops_manager_ui_drivers-2.35.0 lib/ops_manager_ui_drivers/version15/available_products.rb
ops_manager_ui_drivers-2.34.1 lib/ops_manager_ui_drivers/version15/available_products.rb
ops_manager_ui_drivers-2.34.0 lib/ops_manager_ui_drivers/version15/available_products.rb
ops_manager_ui_drivers-2.33.1 lib/ops_manager_ui_drivers/version15/available_products.rb
ops_manager_ui_drivers-2.33.0 lib/ops_manager_ui_drivers/version15/available_products.rb
ops_manager_ui_drivers-2.32.1 lib/ops_manager_ui_drivers/version15/available_products.rb
ops_manager_ui_drivers-2.32.0 lib/ops_manager_ui_drivers/version15/available_products.rb
ops_manager_ui_drivers-2.31.3 lib/ops_manager_ui_drivers/version15/available_products.rb
ops_manager_ui_drivers-2.31.2 lib/ops_manager_ui_drivers/version15/available_products.rb
ops_manager_ui_drivers-2.31.1 lib/ops_manager_ui_drivers/version15/available_products.rb