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.42.0 lib/ops_manager_ui_drivers/version17/bosh_product_sections/availability_zones.rb
ops_manager_ui_drivers-2.41.0 lib/ops_manager_ui_drivers/version17/bosh_product_sections/availability_zones.rb
ops_manager_ui_drivers-2.40.1 lib/ops_manager_ui_drivers/version17/bosh_product_sections/availability_zones.rb
ops_manager_ui_drivers-2.40.0 lib/ops_manager_ui_drivers/version17/bosh_product_sections/availability_zones.rb
ops_manager_ui_drivers-2.39.0 lib/ops_manager_ui_drivers/version17/bosh_product_sections/availability_zones.rb
ops_manager_ui_drivers-2.38.0 lib/ops_manager_ui_drivers/version17/bosh_product_sections/availability_zones.rb
ops_manager_ui_drivers-2.37.0 lib/ops_manager_ui_drivers/version17/bosh_product_sections/availability_zones.rb
ops_manager_ui_drivers-2.36.0 lib/ops_manager_ui_drivers/version17/bosh_product_sections/availability_zones.rb
ops_manager_ui_drivers-2.35.2 lib/ops_manager_ui_drivers/version17/bosh_product_sections/availability_zones.rb
ops_manager_ui_drivers-2.35.1 lib/ops_manager_ui_drivers/version17/bosh_product_sections/availability_zones.rb
ops_manager_ui_drivers-2.35.0 lib/ops_manager_ui_drivers/version17/bosh_product_sections/availability_zones.rb
ops_manager_ui_drivers-2.34.1 lib/ops_manager_ui_drivers/version17/bosh_product_sections/availability_zones.rb
ops_manager_ui_drivers-2.34.0 lib/ops_manager_ui_drivers/version17/bosh_product_sections/availability_zones.rb
ops_manager_ui_drivers-2.33.1 lib/ops_manager_ui_drivers/version17/bosh_product_sections/availability_zones.rb
ops_manager_ui_drivers-2.33.0 lib/ops_manager_ui_drivers/version17/bosh_product_sections/availability_zones.rb
ops_manager_ui_drivers-2.32.1 lib/ops_manager_ui_drivers/version17/bosh_product_sections/availability_zones.rb
ops_manager_ui_drivers-2.32.0 lib/ops_manager_ui_drivers/version17/bosh_product_sections/availability_zones.rb
ops_manager_ui_drivers-2.31.3 lib/ops_manager_ui_drivers/version17/bosh_product_sections/availability_zones.rb
ops_manager_ui_drivers-2.31.2 lib/ops_manager_ui_drivers/version17/bosh_product_sections/availability_zones.rb
ops_manager_ui_drivers-2.31.1 lib/ops_manager_ui_drivers/version17/bosh_product_sections/availability_zones.rb