Sha256: b1694f442922657b7f014dd6966df0ed09dd88cd08bedbde546d9d2f35002dc5
Contents?: true
Size: 648 Bytes
Versions: 5
Compression:
Stored size: 648 Bytes
Contents
module OpsManagerUiDrivers module Version12 class NtpServers def initialize(browser:, product_id:) @browser = browser @product_id = product_id end def configure(ntp_configuration) open_ntp_configuration configure_ntp(ntp_configuration) end private attr_reader :browser, :product_id def open_ntp_configuration browser.visit("/components/#{product_id}/forms/ntp/edit") end def configure_ntp(ntp_configuration) browser.fill_in 'ntp[ntp_servers]', with: ntp_configuration['ntp'] browser.click_on 'Save' end end end end
Version data entries
5 entries across 5 versions & 1 rubygems