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.10.0 lib/ops_manager_ui_drivers/version16/available_products.rb
ops_manager_ui_drivers-2.9.6 lib/ops_manager_ui_drivers/version16/available_products.rb
ops_manager_ui_drivers-2.9.5 lib/ops_manager_ui_drivers/version16/available_products.rb
ops_manager_ui_drivers-2.9.4 lib/ops_manager_ui_drivers/version16/available_products.rb
ops_manager_ui_drivers-2.9.3 lib/ops_manager_ui_drivers/version16/available_products.rb
ops_manager_ui_drivers-2.9.2 lib/ops_manager_ui_drivers/version16/available_products.rb
ops_manager_ui_drivers-2.9.1 lib/ops_manager_ui_drivers/version16/available_products.rb
ops_manager_ui_drivers-2.9.0 lib/ops_manager_ui_drivers/version16/available_products.rb
ops_manager_ui_drivers-2.8.0 lib/ops_manager_ui_drivers/version16/available_products.rb
ops_manager_ui_drivers-2.7.3 lib/ops_manager_ui_drivers/version16/available_products.rb
ops_manager_ui_drivers-2.7.2 lib/ops_manager_ui_drivers/version16/available_products.rb
ops_manager_ui_drivers-2.7.1 lib/ops_manager_ui_drivers/version16/available_products.rb
ops_manager_ui_drivers-2.7.0 lib/ops_manager_ui_drivers/version16/available_products.rb
ops_manager_ui_drivers-2.6.4 lib/ops_manager_ui_drivers/version16/available_products.rb
ops_manager_ui_drivers-2.6.3 lib/ops_manager_ui_drivers/version16/available_products.rb
ops_manager_ui_drivers-2.6.2 lib/ops_manager_ui_drivers/version16/available_products.rb
ops_manager_ui_drivers-2.6.1 lib/ops_manager_ui_drivers/version16/available_products.rb
ops_manager_ui_drivers-2.6.0 lib/ops_manager_ui_drivers/version16/available_products.rb
ops_manager_ui_drivers-2.5.2 lib/ops_manager_ui_drivers/version16/available_products.rb
ops_manager_ui_drivers-2.5.1 lib/ops_manager_ui_drivers/version16/available_products.rb