Sha256: 7e315bb2239594787eeff2453cf1bf09e0c6dfdef8a80a797b4232583cbb24b6

Contents?: true

Size: 478 Bytes

Versions: 21

Compression:

Stored size: 478 Bytes

Contents

module OpsManagerUiDrivers
  module Version13
    class AvailableProducts
      def initialize(browser:)
        @browser = browser
      end

      def add_product_to_install(product_name)
        browser.visit '/'
        browser.click_on "add-#{product_name}"
      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

21 entries across 21 versions & 1 rubygems

Version Path
ops_manager_ui_drivers-0.11.0 lib/ops_manager_ui_drivers/version13/available_products.rb
ops_manager_ui_drivers-0.10.0 lib/ops_manager_ui_drivers/version13/available_products.rb
ops_manager_ui_drivers-0.9.9 lib/ops_manager_ui_drivers/version13/available_products.rb
ops_manager_ui_drivers-0.9.8 lib/ops_manager_ui_drivers/version13/available_products.rb
ops_manager_ui_drivers-0.9.7 lib/ops_manager_ui_drivers/version13/available_products.rb
ops_manager_ui_drivers-0.9.6 lib/ops_manager_ui_drivers/version13/available_products.rb
ops_manager_ui_drivers-0.9.5 lib/ops_manager_ui_drivers/version13/available_products.rb
ops_manager_ui_drivers-0.9.4 lib/ops_manager_ui_drivers/version13/available_products.rb
ops_manager_ui_drivers-0.9.3 lib/ops_manager_ui_drivers/version13/available_products.rb
ops_manager_ui_drivers-0.9.2 lib/ops_manager_ui_drivers/version13/available_products.rb
ops_manager_ui_drivers-0.9.1 lib/ops_manager_ui_drivers/version13/available_products.rb
ops_manager_ui_drivers-0.9.0 lib/ops_manager_ui_drivers/version13/available_products.rb
ops_manager_ui_drivers-0.8.2 lib/ops_manager_ui_drivers/version13/available_products.rb
ops_manager_ui_drivers-0.8.1 lib/ops_manager_ui_drivers/version13/available_products.rb
ops_manager_ui_drivers-0.8.0 lib/ops_manager_ui_drivers/version13/available_products.rb
ops_manager_ui_drivers-0.7.0 lib/ops_manager_ui_drivers/version13/available_products.rb
ops_manager_ui_drivers-0.6.2 lib/ops_manager_ui_drivers/version13/available_products.rb
ops_manager_ui_drivers-0.6.1 lib/ops_manager_ui_drivers/version13/available_products.rb
ops_manager_ui_drivers-0.6.0 lib/ops_manager_ui_drivers/version13/available_products.rb
ops_manager_ui_drivers-0.5.0 lib/ops_manager_ui_drivers/version13/available_products.rb