Sha256: 9cb6c6b57bc91a695ff18f2a91bbf3ba9e7746157b050c6e2f4ff7b1380445bb
Contents?: true
Size: 878 Bytes
Versions: 40
Compression:
Stored size: 878 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
40 entries across 40 versions & 1 rubygems