3
0
Fork 0
forked from mirrors/nixpkgs

Fix mumble test: wait for X windows to appear, not only sleep

This commit is contained in:
Luca Bruno 2014-05-21 18:07:27 +02:00
parent 973fa21b52
commit 927b385cc9

View file

@ -28,7 +28,9 @@ in
$client1->execute("mumble mumble://client1\@server/test &");
$client2->execute("mumble mumble://client2\@server/test &");
$server->sleep(10); # Wait for Mumble UI to pop up
$client1->waitForWindow(qr/Mumble/);
$client2->waitForWindow(qr/Mumble/);
$server->sleep(3); # Wait some more for the Mumble UI
# cancel client audio configuration
$client1->sendKeys("esc");