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:
|
Background:
|
||||||
Given uhwm is running
|
Given uhwm is running
|
||||||
And a first window is mapped
|
And a first window is managed
|
||||||
And a second window is mapped
|
And a second window is managed
|
||||||
|
|
||||||
Scenario: maps another window
|
Scenario: maps another window
|
||||||
When the second window is unmapped
|
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
|
x_client(ident).map.sync
|
||||||
end
|
uhwm_wait_output /manag.+#{x_client(ident).name}/i
|
||||||
|
|
||||||
Given /^a window is managed$/ do
|
|
||||||
x_client.map.sync
|
|
||||||
uhwm_wait_output /manag.+#{x_client.name}/i
|
|
||||||
end
|
end
|
||||||
|
|
||||||
When /^I press the ([^ ]+) keys?$/ do |keys|
|
When /^I press the ([^ ]+) keys?$/ do |keys|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user