Sha256: edbfaf67b2790fabb12a73eee9fbdfa6e1d8989629c4c48fe416cf36bea9d194

Contents?: true

Size: 950 Bytes

Versions: 13

Compression:

Stored size: 950 Bytes

Contents

require 'ops_manager_ui_drivers/version17/product_dashboard'

module OpsManagerUiDrivers
  module Version18
    class ProductDashboard < Version17::ProductDashboard
      def delete_whole_installation
        method_deprecated!
      end

      def delete_installation_available?
        method_deprecated!
      end

      def reset_state(ops_manager)
        revert_pending_changes if revert_available?
        if ops_manager.settings_page.delete_installation_available?
          ops_manager.settings_page.delete_whole_installation_on_next_apply_updates
          apply_updates
          browser.poll_up_to_mins(15) do
            browser.expect(ops_manager.state_change_progress).to browser.be_state_change_success
          end
        end
      end

      private

      def method_deprecated!
        raise NotImplementedError, 'This method has been removed. You can find the new version on the UserSettings class'
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
ops_manager_ui_drivers-2.10.8 lib/ops_manager_ui_drivers/version18/product_dashboard.rb
ops_manager_ui_drivers-2.10.7 lib/ops_manager_ui_drivers/version18/product_dashboard.rb
ops_manager_ui_drivers-2.10.6 lib/ops_manager_ui_drivers/version18/product_dashboard.rb
ops_manager_ui_drivers-2.10.5 lib/ops_manager_ui_drivers/version18/product_dashboard.rb
ops_manager_ui_drivers-2.10.4 lib/ops_manager_ui_drivers/version18/product_dashboard.rb
ops_manager_ui_drivers-2.10.3 lib/ops_manager_ui_drivers/version18/product_dashboard.rb
ops_manager_ui_drivers-2.10.2 lib/ops_manager_ui_drivers/version18/product_dashboard.rb
ops_manager_ui_drivers-2.10.1 lib/ops_manager_ui_drivers/version18/product_dashboard.rb
ops_manager_ui_drivers-2.10.0 lib/ops_manager_ui_drivers/version18/product_dashboard.rb
ops_manager_ui_drivers-2.9.6 lib/ops_manager_ui_drivers/version18/product_dashboard.rb
ops_manager_ui_drivers-2.9.5 lib/ops_manager_ui_drivers/version18/product_dashboard.rb
ops_manager_ui_drivers-2.9.4 lib/ops_manager_ui_drivers/version18/product_dashboard.rb
ops_manager_ui_drivers-2.9.3 lib/ops_manager_ui_drivers/version18/product_dashboard.rb