Sha256: 4f223bbc5994de662471c13d719a463c6d12dfe1e0b143d7ad7ee5e66f72fd73

Contents?: true

Size: 896 Bytes

Versions: 102

Compression:

Stored size: 896 Bytes

Contents

module OpsManagerUiDrivers
  module Version17
    module BoshProductSections
      class AvailabilityZones
        def initialize(browser:)
          @browser                   = browser
          @bosh_product_form_section = BoshProductFormSection.new(browser, 'availability_zones[availability_zones][]')
        end

        def add_single_az(iaas_identifier)
          @bosh_product_form_section.open_form('availability_zones')
          @bosh_product_form_section.set_fields('iaas_identifier' => iaas_identifier)
          @bosh_product_form_section.save_form
        end

        def add_az(fields)
          @bosh_product_form_section.open_form('availability_zones')
          browser.click_on 'Add'
          @bosh_product_form_section.set_fields(fields)
          @bosh_product_form_section.save_form
        end

        private

        attr_reader :browser
      end
    end
  end
end

Version data entries

102 entries across 102 versions & 1 rubygems

Version Path
ops_manager_ui_drivers-2.10.0 lib/ops_manager_ui_drivers/version17/bosh_product_sections/availability_zones.rb
ops_manager_ui_drivers-2.9.6 lib/ops_manager_ui_drivers/version17/bosh_product_sections/availability_zones.rb
ops_manager_ui_drivers-2.9.5 lib/ops_manager_ui_drivers/version17/bosh_product_sections/availability_zones.rb
ops_manager_ui_drivers-2.9.4 lib/ops_manager_ui_drivers/version17/bosh_product_sections/availability_zones.rb
ops_manager_ui_drivers-2.9.3 lib/ops_manager_ui_drivers/version17/bosh_product_sections/availability_zones.rb
ops_manager_ui_drivers-2.9.2 lib/ops_manager_ui_drivers/version17/bosh_product_sections/availability_zones.rb
ops_manager_ui_drivers-2.9.1 lib/ops_manager_ui_drivers/version17/bosh_product_sections/availability_zones.rb
ops_manager_ui_drivers-2.9.0 lib/ops_manager_ui_drivers/version17/bosh_product_sections/availability_zones.rb
ops_manager_ui_drivers-2.8.0 lib/ops_manager_ui_drivers/version17/bosh_product_sections/availability_zones.rb
ops_manager_ui_drivers-2.7.3 lib/ops_manager_ui_drivers/version17/bosh_product_sections/availability_zones.rb
ops_manager_ui_drivers-2.7.2 lib/ops_manager_ui_drivers/version17/bosh_product_sections/availability_zones.rb
ops_manager_ui_drivers-2.7.1 lib/ops_manager_ui_drivers/version17/bosh_product_sections/availability_zones.rb
ops_manager_ui_drivers-2.7.0 lib/ops_manager_ui_drivers/version17/bosh_product_sections/availability_zones.rb
ops_manager_ui_drivers-2.6.4 lib/ops_manager_ui_drivers/version17/bosh_product_sections/availability_zones.rb
ops_manager_ui_drivers-2.6.3 lib/ops_manager_ui_drivers/version17/bosh_product_sections/availability_zones.rb
ops_manager_ui_drivers-2.6.2 lib/ops_manager_ui_drivers/version17/bosh_product_sections/availability_zones.rb
ops_manager_ui_drivers-2.6.1 lib/ops_manager_ui_drivers/version17/bosh_product_sections/availability_zones.rb
ops_manager_ui_drivers-2.6.0 lib/ops_manager_ui_drivers/version17/bosh_product_sections/availability_zones.rb
ops_manager_ui_drivers-2.5.2 lib/ops_manager_ui_drivers/version17/bosh_product_sections/availability_zones.rb
ops_manager_ui_drivers-2.5.1 lib/ops_manager_ui_drivers/version17/bosh_product_sections/availability_zones.rb