Register a Layout with display information

This commit is contained in:
Thibault Jouan
2015-04-10 06:12:08 +00:00
parent b9b2bff853
commit de3fca228e
3 changed files with 24 additions and 0 deletions

View File

@@ -31,3 +31,11 @@ end
Then /^the current output must match \/([^\/]+)\/([a-z]*)$/ do |pattern, options|
uhwm_wait_output Regexp.new(pattern, options)
end
Then /^the current output must contain:$/ do |content|
uhwm_wait_output content.to_s
end
Then /^the current output must contain current display$/ do
uhwm_wait_output ENV['DISPLAY']
end