Sha256: 9f0b96ab52f40e5d1f1ad4025c9c8c37b96247c62f7b78e5525bd7449bd9417e

Contents?: true

Size: 638 Bytes

Versions: 27

Compression:

Stored size: 638 Bytes

Contents

module OpsManagerUiDrivers
  module Version15
    class IaasConfiguration
      def initialize(browser:)
        @browser = browser
      end

      def open_form
        browser.visit '/'
        browser.click_on 'show-microbosh-configure-action'
        browser.click_on 'show-iaas_configuration-action'
      end

      def save_form
        browser.click_on 'Save'
        browser.expect(browser.page).to browser.have_css('.flash-message.success')
      end

      def set_field(field, value)
        browser.find_field("iaas_configuration[#{field}]").set(value)
      end

      private

      attr_reader :browser
    end
  end
end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
ops_manager_ui_drivers-1.0.0 lib/ops_manager_ui_drivers/version15/iaas_configuration.rb
ops_manager_ui_drivers-0.16.0 lib/ops_manager_ui_drivers/version15/iaas_configuration.rb
ops_manager_ui_drivers-0.15.2 lib/ops_manager_ui_drivers/version15/iaas_configuration.rb
ops_manager_ui_drivers-0.15.1 lib/ops_manager_ui_drivers/version15/iaas_configuration.rb
ops_manager_ui_drivers-0.15.0 lib/ops_manager_ui_drivers/version15/iaas_configuration.rb
ops_manager_ui_drivers-0.14.1 lib/ops_manager_ui_drivers/version15/iaas_configuration.rb
ops_manager_ui_drivers-0.14.0 lib/ops_manager_ui_drivers/version15/iaas_configuration.rb
ops_manager_ui_drivers-0.13.0 lib/ops_manager_ui_drivers/version15/iaas_configuration.rb
ops_manager_ui_drivers-0.12.0 lib/ops_manager_ui_drivers/version15/iaas_configuration.rb
ops_manager_ui_drivers-0.11.0 lib/ops_manager_ui_drivers/version15/iaas_configuration.rb
ops_manager_ui_drivers-0.10.0 lib/ops_manager_ui_drivers/version15/iaas_configuration.rb
ops_manager_ui_drivers-0.9.9 lib/ops_manager_ui_drivers/version15/iaas_configuration.rb
ops_manager_ui_drivers-0.9.8 lib/ops_manager_ui_drivers/version15/iaas_configuration.rb
ops_manager_ui_drivers-0.9.7 lib/ops_manager_ui_drivers/version15/iaas_configuration.rb
ops_manager_ui_drivers-0.9.6 lib/ops_manager_ui_drivers/version15/iaas_configuration.rb
ops_manager_ui_drivers-0.9.5 lib/ops_manager_ui_drivers/version15/iaas_configuration.rb
ops_manager_ui_drivers-0.9.4 lib/ops_manager_ui_drivers/version15/iaas_configuration.rb
ops_manager_ui_drivers-0.9.3 lib/ops_manager_ui_drivers/version15/iaas_configuration.rb
ops_manager_ui_drivers-0.9.2 lib/ops_manager_ui_drivers/version15/iaas_configuration.rb
ops_manager_ui_drivers-0.9.1 lib/ops_manager_ui_drivers/version15/iaas_configuration.rb