Sha256: 262f3de95719886d5e903f25a7a175220c0ee95ce78388aa6d5978670d0ef659

Contents?: true

Size: 1023 Bytes

Versions: 53

Compression:

Stored size: 1023 Bytes

Contents

require 'ops_manager_ui_drivers/version17/product_status_helper'

module OpsManagerUiDrivers
  module Version18
    class ProductStatusHelper < Version17::ProductStatusHelper
      def job_statuses(job_name_prefix)
        open_page

        wait_for_loading_indicator_to_disappear

        browser.within "##{product_name}-status" do
          job_rows = browser.all(:css, "tr[data-job-name ^= '#{job_name_prefix}']")

          job_rows.map { |job_row| Version18::JobStatusHelper.from_job_row(job_row) }
        end
      end

      def job_status(job_name_prefix)
        job_statuses(job_name_prefix).first
      end

      def job_status_in_az(_job_name)
        raise 'no longer supported in OM UI Drivers 1.8'
      end

      def resource_pool_for_job_in_az(_job_name, _az_guid, _vsphere_connection)
        raise 'no longer supported in OM UI Drivers 1.8'
      end

      def az_name_for_job_in_az(_job_name, _vpc_id, _az_guid)
        raise 'no longer supported in OM UI Drivers 1.8'
      end
    end
  end
end

Version data entries

53 entries across 53 versions & 1 rubygems

Version Path
ops_manager_ui_drivers-2.42.0 lib/ops_manager_ui_drivers/version18/product_status_helper.rb
ops_manager_ui_drivers-2.41.0 lib/ops_manager_ui_drivers/version18/product_status_helper.rb
ops_manager_ui_drivers-2.40.1 lib/ops_manager_ui_drivers/version18/product_status_helper.rb
ops_manager_ui_drivers-2.40.0 lib/ops_manager_ui_drivers/version18/product_status_helper.rb
ops_manager_ui_drivers-2.39.0 lib/ops_manager_ui_drivers/version18/product_status_helper.rb
ops_manager_ui_drivers-2.38.0 lib/ops_manager_ui_drivers/version18/product_status_helper.rb
ops_manager_ui_drivers-2.37.0 lib/ops_manager_ui_drivers/version18/product_status_helper.rb
ops_manager_ui_drivers-2.36.0 lib/ops_manager_ui_drivers/version18/product_status_helper.rb
ops_manager_ui_drivers-2.35.2 lib/ops_manager_ui_drivers/version18/product_status_helper.rb
ops_manager_ui_drivers-2.35.1 lib/ops_manager_ui_drivers/version18/product_status_helper.rb
ops_manager_ui_drivers-2.35.0 lib/ops_manager_ui_drivers/version18/product_status_helper.rb
ops_manager_ui_drivers-2.34.1 lib/ops_manager_ui_drivers/version18/product_status_helper.rb
ops_manager_ui_drivers-2.34.0 lib/ops_manager_ui_drivers/version18/product_status_helper.rb
ops_manager_ui_drivers-2.33.1 lib/ops_manager_ui_drivers/version18/product_status_helper.rb
ops_manager_ui_drivers-2.33.0 lib/ops_manager_ui_drivers/version18/product_status_helper.rb
ops_manager_ui_drivers-2.32.1 lib/ops_manager_ui_drivers/version18/product_status_helper.rb
ops_manager_ui_drivers-2.32.0 lib/ops_manager_ui_drivers/version18/product_status_helper.rb
ops_manager_ui_drivers-2.31.3 lib/ops_manager_ui_drivers/version18/product_status_helper.rb
ops_manager_ui_drivers-2.31.2 lib/ops_manager_ui_drivers/version18/product_status_helper.rb
ops_manager_ui_drivers-2.31.1 lib/ops_manager_ui_drivers/version18/product_status_helper.rb