Test blocking worker event handling reliability

This commit is contained in:
Thibault Jouan
2015-04-29 02:52:35 +00:00
parent 2731f9b3a3
commit d24f25bbbe
2 changed files with 6 additions and 2 deletions

View File

@@ -20,6 +20,10 @@ When /^I press the ([^ ]+) keys? (\d+) times$/ do |keys, times|
times.to_i.times { x_key keys }
end
When /^I quickly press the ([^ ]+) keys? (\d+) times$/ do |keys, times|
x_key [keys] * times.to_i, delay: 0
end
When /^a window requests to be mapped$/ do
x_client.map.sync
end