Sha256: 051427e2f30b197d36a5a6a0e0861afcd5da09262ef5f992063287ee13028b26
Contents?: true
Size: 628 Bytes
Versions: 5
Compression:
Stored size: 628 Bytes
Contents
module OpsManagerUiDrivers module Version12 class InstallProgress def initialize(browser:) @browser = browser end def install_success? browser.visit '/install' unless install_progress_open? browser.fail_early('Install probably aborted immediately') unless install_progress_open? browser.fail_early('Install failed') if browser.all('#install-failure-modal').any? browser.all('#install-success-modal').any? end private attr_reader :browser def install_progress_open? browser.current_path == '/install' end end end end
Version data entries
5 entries across 5 versions & 1 rubygems