Fix non-deterministic test in manager/unmanage
This commit is contained in:
parent
ad67456c52
commit
c7bd6ea28a
@ -6,5 +6,5 @@ Feature: layout client unmanagement
|
||||
And a second window is mapped
|
||||
|
||||
Scenario: maps another window
|
||||
When the second window requests to be unmapped
|
||||
When the second window is unmapped
|
||||
Then the first window must be mapped
|
||||
|
@ -19,8 +19,9 @@ When /^the window requests to be unmapped$/ do
|
||||
x_window_unmap
|
||||
end
|
||||
|
||||
When /^the (\w+) window requests to be unmapped$/ do |ident|
|
||||
When /^the (\w+) window is unmapped$/ do |ident|
|
||||
x_window_unmap ident: ident
|
||||
uhwm_wait_output /unmanag.+#{x_client(ident: ident).name}/i
|
||||
end
|
||||
|
||||
When /^a window requests to be mapped (\d+) times$/ do |times|
|
||||
|
Loading…
x
Reference in New Issue
Block a user