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.5.0 lib/ops_manager_ui_drivers/version17/bosh_product_sections/availability_zones.rb
ops_manager_ui_drivers-2.4.2 lib/ops_manager_ui_drivers/version17/bosh_product_sections/availability_zones.rb
ops_manager_ui_drivers-2.4.1 lib/ops_manager_ui_drivers/version17/bosh_product_sections/availability_zones.rb
ops_manager_ui_drivers-2.4.0 lib/ops_manager_ui_drivers/version17/bosh_product_sections/availability_zones.rb
ops_manager_ui_drivers-2.3.2 lib/ops_manager_ui_drivers/version17/bosh_product_sections/availability_zones.rb
ops_manager_ui_drivers-2.3.1 lib/ops_manager_ui_drivers/version17/bosh_product_sections/availability_zones.rb
ops_manager_ui_drivers-2.3.0 lib/ops_manager_ui_drivers/version17/bosh_product_sections/availability_zones.rb
ops_manager_ui_drivers-2.2.1 lib/ops_manager_ui_drivers/version17/bosh_product_sections/availability_zones.rb
ops_manager_ui_drivers-2.2.0 lib/ops_manager_ui_drivers/version17/bosh_product_sections/availability_zones.rb
ops_manager_ui_drivers-2.1.8 lib/ops_manager_ui_drivers/version17/bosh_product_sections/availability_zones.rb
ops_manager_ui_drivers-2.1.7 lib/ops_manager_ui_drivers/version17/bosh_product_sections/availability_zones.rb
ops_manager_ui_drivers-2.1.6 lib/ops_manager_ui_drivers/version17/bosh_product_sections/availability_zones.rb
ops_manager_ui_drivers-2.1.5 lib/ops_manager_ui_drivers/version17/bosh_product_sections/availability_zones.rb
ops_manager_ui_drivers-2.1.4 lib/ops_manager_ui_drivers/version17/bosh_product_sections/availability_zones.rb
ops_manager_ui_drivers-2.1.3 lib/ops_manager_ui_drivers/version17/bosh_product_sections/availability_zones.rb
ops_manager_ui_drivers-2.1.2 lib/ops_manager_ui_drivers/version17/bosh_product_sections/availability_zones.rb
ops_manager_ui_drivers-2.1.1 lib/ops_manager_ui_drivers/version17/bosh_product_sections/availability_zones.rb
ops_manager_ui_drivers-2.1.0 lib/ops_manager_ui_drivers/version17/bosh_product_sections/availability_zones.rb
ops_manager_ui_drivers-2.0.4 lib/ops_manager_ui_drivers/version17/bosh_product_sections/availability_zones.rb
ops_manager_ui_drivers-2.0.3 lib/ops_manager_ui_drivers/version17/bosh_product_sections/availability_zones.rb