Sha256: 24df3b21cae398c115c02038982d74231e547acf92d0ec68821780b59ad9b8b6

Contents?: true

Size: 865 Bytes

Versions: 25

Compression:

Stored size: 865 Bytes

Contents

require 'ops_manager_ui_drivers/version16/product_dashboard'

module OpsManagerUiDrivers
  module Version17
    class ProductDashboard < Version16::ProductDashboard
      def import_installation_file(_file_path)
        fail('Importing is no longer supported via the Product Dashboard. See Version17::Setup#import_installation_file')
      end

      def product_available?(product_name, product_version)
        open_dashboard
        browser.all("li.#{product_name} input#product_version[value='#{product_version}']", {visible: false}).any?
      end

      def delete_unused_products
        open_dashboard
        @browser.find('a#delete_unused_products').trigger('click')
      end

      def deleted_product?(product_name)
        open_dashboard
        browser.first("#show-#{product_name.dasherize}-information-action").present?
      end
    end
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
ops_manager_ui_drivers-2.6.0 lib/ops_manager_ui_drivers/version17/product_dashboard.rb
ops_manager_ui_drivers-2.5.2 lib/ops_manager_ui_drivers/version17/product_dashboard.rb
ops_manager_ui_drivers-2.5.1 lib/ops_manager_ui_drivers/version17/product_dashboard.rb
ops_manager_ui_drivers-2.5.0 lib/ops_manager_ui_drivers/version17/product_dashboard.rb
ops_manager_ui_drivers-2.4.2 lib/ops_manager_ui_drivers/version17/product_dashboard.rb
ops_manager_ui_drivers-2.4.1 lib/ops_manager_ui_drivers/version17/product_dashboard.rb
ops_manager_ui_drivers-2.4.0 lib/ops_manager_ui_drivers/version17/product_dashboard.rb
ops_manager_ui_drivers-2.3.2 lib/ops_manager_ui_drivers/version17/product_dashboard.rb
ops_manager_ui_drivers-2.3.1 lib/ops_manager_ui_drivers/version17/product_dashboard.rb
ops_manager_ui_drivers-2.3.0 lib/ops_manager_ui_drivers/version17/product_dashboard.rb
ops_manager_ui_drivers-2.2.1 lib/ops_manager_ui_drivers/version17/product_dashboard.rb
ops_manager_ui_drivers-2.2.0 lib/ops_manager_ui_drivers/version17/product_dashboard.rb
ops_manager_ui_drivers-2.1.8 lib/ops_manager_ui_drivers/version17/product_dashboard.rb
ops_manager_ui_drivers-2.1.7 lib/ops_manager_ui_drivers/version17/product_dashboard.rb
ops_manager_ui_drivers-2.1.6 lib/ops_manager_ui_drivers/version17/product_dashboard.rb
ops_manager_ui_drivers-2.1.5 lib/ops_manager_ui_drivers/version17/product_dashboard.rb
ops_manager_ui_drivers-2.1.4 lib/ops_manager_ui_drivers/version17/product_dashboard.rb
ops_manager_ui_drivers-2.1.3 lib/ops_manager_ui_drivers/version17/product_dashboard.rb
ops_manager_ui_drivers-2.1.2 lib/ops_manager_ui_drivers/version17/product_dashboard.rb
ops_manager_ui_drivers-2.1.1 lib/ops_manager_ui_drivers/version17/product_dashboard.rb