Sha256: 088adc6de10890459b5e23fa3aca253f6e090aaa15bee1979d3cd769b7cd7c55
Contents?: true
Size: 648 Bytes
Versions: 5
Compression:
Stored size: 648 Bytes
Contents
module OpsManagerUiDrivers module Version11 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