Sha256: 220f7001a79e96dd1eae022361e464c65adbe9bbbb5b67c5304821c533ef72b7

Contents?: true

Size: 551 Bytes

Versions: 28

Compression:

Stored size: 551 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}-configure-action", wait: 10)
      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

28 entries across 28 versions & 1 rubygems

Version Path
ops_manager_ui_drivers-1.8.3 lib/ops_manager_ui_drivers/version17/available_products.rb
ops_manager_ui_drivers-1.23.0 lib/ops_manager_ui_drivers/version17/available_products.rb
ops_manager_ui_drivers-1.22.0 lib/ops_manager_ui_drivers/version17/available_products.rb
ops_manager_ui_drivers-1.21.1 lib/ops_manager_ui_drivers/version17/available_products.rb
ops_manager_ui_drivers-1.21.0 lib/ops_manager_ui_drivers/version17/available_products.rb
ops_manager_ui_drivers-1.20.0 lib/ops_manager_ui_drivers/version17/available_products.rb
ops_manager_ui_drivers-1.19.0 lib/ops_manager_ui_drivers/version17/available_products.rb
ops_manager_ui_drivers-1.18.0 lib/ops_manager_ui_drivers/version17/available_products.rb
ops_manager_ui_drivers-1.17.0 lib/ops_manager_ui_drivers/version17/available_products.rb
ops_manager_ui_drivers-1.16.0 lib/ops_manager_ui_drivers/version17/available_products.rb
ops_manager_ui_drivers-1.15.0 lib/ops_manager_ui_drivers/version17/available_products.rb
ops_manager_ui_drivers-1.14.0 lib/ops_manager_ui_drivers/version17/available_products.rb
ops_manager_ui_drivers-1.13.0 lib/ops_manager_ui_drivers/version17/available_products.rb
ops_manager_ui_drivers-1.12.0 lib/ops_manager_ui_drivers/version17/available_products.rb
ops_manager_ui_drivers-1.11.0 lib/ops_manager_ui_drivers/version17/available_products.rb
ops_manager_ui_drivers-1.10.0 lib/ops_manager_ui_drivers/version17/available_products.rb
ops_manager_ui_drivers-1.9.5 lib/ops_manager_ui_drivers/version17/available_products.rb
ops_manager_ui_drivers-1.9.4 lib/ops_manager_ui_drivers/version17/available_products.rb
ops_manager_ui_drivers-1.9.3 lib/ops_manager_ui_drivers/version17/available_products.rb
ops_manager_ui_drivers-1.9.2 lib/ops_manager_ui_drivers/version17/available_products.rb