Fix how uh-wm is tested for readiness in UAT
This commit is contained in:
parent
730527b836
commit
b3a82fcf92
@ -6,7 +6,7 @@ module Uh
|
|||||||
module AcceptanceHelpers
|
module AcceptanceHelpers
|
||||||
TIMEOUT_DEFAULT = 2
|
TIMEOUT_DEFAULT = 2
|
||||||
QUIT_KEYBINDING = 'alt+shift+q'.freeze
|
QUIT_KEYBINDING = 'alt+shift+q'.freeze
|
||||||
LOG_CONNECTED = 'Connected to'.freeze
|
LOG_READY = 'Working events'.freeze
|
||||||
|
|
||||||
def uhwm_run options = '-v'
|
def uhwm_run options = '-v'
|
||||||
command = %w[uhwm]
|
command = %w[uhwm]
|
||||||
@ -45,7 +45,7 @@ module Uh
|
|||||||
end
|
end
|
||||||
|
|
||||||
def uhwm_wait_ready
|
def uhwm_wait_ready
|
||||||
uhwm_wait_output LOG_CONNECTED
|
uhwm_wait_output LOG_READY
|
||||||
end
|
end
|
||||||
|
|
||||||
def uhwm_run_wait_ready options = nil
|
def uhwm_run_wait_ready options = nil
|
||||||
|
Loading…
x
Reference in New Issue
Block a user