tests: xmonad less dependent on timings

This commit is contained in:
Tim Steinbach 2017-09-09 10:07:34 -04:00
parent 498e3a9989
commit 84e34d4d5d
No known key found for this signature in database
GPG key ID: 472BFCCA96BD0EDA

View file

@ -19,6 +19,7 @@ import ./make-test.nix ({ pkgs, ...} : {
$machine->waitForX;
$machine->waitForFile("/home/alice/.Xauthority");
$machine->succeed("xauth merge ~alice/.Xauthority");
$machine->waitUntilSucceeds("xmonad --restart");
$machine->sleep(3);
$machine->sendKeys("alt-shift-ret");
$machine->waitForWindow(qr/machine.*alice/);