Sha256: 9618237dbee9a400731cb64b7a379a19a6938ddd621c75a90e5ed3b964b7a732
Contents?: true
Size: 878 Bytes
Versions: 44
Compression:
Stored size: 878 Bytes
Contents
module OpsManagerUiDrivers module Version16 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
44 entries across 44 versions & 1 rubygems