diff options
author | Luca Bruno <lethalman88@gmail.com> | 2014-05-21 18:07:27 +0200 |
---|---|---|
committer | Luca Bruno <lethalman88@gmail.com> | 2014-05-21 18:09:21 +0200 |
commit | 927b385cc9d7b297c96aef3698ee3b5f0aee2a87 (patch) | |
tree | cecdb598a81f8d2f7dd0106855372860f0a83c00 | |
parent | 973fa21b52d0222ea5033ef265b2fbc0d2ab85c2 (diff) |
Fix mumble test: wait for X windows to appear, not only sleep
-rw-r--r-- | nixos/tests/mumble.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/nixos/tests/mumble.nix b/nixos/tests/mumble.nix index 8896830b0c22a..68ab8b642b01f 100644 --- a/nixos/tests/mumble.nix +++ b/nixos/tests/mumble.nix @@ -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"); |