Sha256: c7321b9629402ef7ed00c69ccd4994314093cc5feda10092e7e0a934063a390c

Contents?: true

Size: 571 Bytes

Versions: 114

Compression:

Stored size: 571 Bytes

Contents

module OpsManagerUiDrivers
  module Version16
    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.5.0 lib/ops_manager_ui_drivers/version16/available_products.rb
ops_manager_ui_drivers-2.4.2 lib/ops_manager_ui_drivers/version16/available_products.rb
ops_manager_ui_drivers-2.4.1 lib/ops_manager_ui_drivers/version16/available_products.rb
ops_manager_ui_drivers-2.4.0 lib/ops_manager_ui_drivers/version16/available_products.rb
ops_manager_ui_drivers-2.3.2 lib/ops_manager_ui_drivers/version16/available_products.rb
ops_manager_ui_drivers-2.3.1 lib/ops_manager_ui_drivers/version16/available_products.rb
ops_manager_ui_drivers-2.3.0 lib/ops_manager_ui_drivers/version16/available_products.rb
ops_manager_ui_drivers-2.2.1 lib/ops_manager_ui_drivers/version16/available_products.rb
ops_manager_ui_drivers-2.2.0 lib/ops_manager_ui_drivers/version16/available_products.rb
ops_manager_ui_drivers-2.1.8 lib/ops_manager_ui_drivers/version16/available_products.rb
ops_manager_ui_drivers-2.1.7 lib/ops_manager_ui_drivers/version16/available_products.rb
ops_manager_ui_drivers-2.1.6 lib/ops_manager_ui_drivers/version16/available_products.rb
ops_manager_ui_drivers-2.1.5 lib/ops_manager_ui_drivers/version16/available_products.rb
ops_manager_ui_drivers-2.1.4 lib/ops_manager_ui_drivers/version16/available_products.rb
ops_manager_ui_drivers-2.1.3 lib/ops_manager_ui_drivers/version16/available_products.rb
ops_manager_ui_drivers-2.1.2 lib/ops_manager_ui_drivers/version16/available_products.rb
ops_manager_ui_drivers-2.1.1 lib/ops_manager_ui_drivers/version16/available_products.rb
ops_manager_ui_drivers-2.1.0 lib/ops_manager_ui_drivers/version16/available_products.rb
ops_manager_ui_drivers-2.0.4 lib/ops_manager_ui_drivers/version16/available_products.rb
ops_manager_ui_drivers-2.0.3 lib/ops_manager_ui_drivers/version16/available_products.rb