Fix non-deterministic test in layout/unmanage
This commit is contained in:
parent
1d9571766b
commit
e8dacfa4ac
@ -2,8 +2,8 @@ Feature: layout client unmanagement
|
||||
|
||||
Background:
|
||||
Given uhwm is running
|
||||
And a first window is mapped
|
||||
And a second window is mapped
|
||||
And a first window is managed
|
||||
And a second window is managed
|
||||
|
||||
Scenario: maps another window
|
||||
When the second window is unmapped
|
||||
|
@ -1,10 +1,7 @@
|
||||
Given /^a (\w+) window is mapped$/ do |ident|
|
||||
Given /^a(?:\s(\w+))? window is managed$/ do |ident|
|
||||
ident ||= :default
|
||||
x_client(ident).map.sync
|
||||
end
|
||||
|
||||
Given /^a window is managed$/ do
|
||||
x_client.map.sync
|
||||
uhwm_wait_output /manag.+#{x_client.name}/i
|
||||
uhwm_wait_output /manag.+#{x_client(ident).name}/i
|
||||
end
|
||||
|
||||
When /^I press the ([^ ]+) keys?$/ do |keys|
|
||||
|
Loading…
x
Reference in New Issue
Block a user