tests: xmonad less dependent on timings
This commit is contained in:
parent
498e3a9989
commit
84e34d4d5d
|
@ -19,6 +19,7 @@ import ./make-test.nix ({ pkgs, ...} : {
|
||||||
$machine->waitForX;
|
$machine->waitForX;
|
||||||
$machine->waitForFile("/home/alice/.Xauthority");
|
$machine->waitForFile("/home/alice/.Xauthority");
|
||||||
$machine->succeed("xauth merge ~alice/.Xauthority");
|
$machine->succeed("xauth merge ~alice/.Xauthority");
|
||||||
|
$machine->waitUntilSucceeds("xmonad --restart");
|
||||||
$machine->sleep(3);
|
$machine->sleep(3);
|
||||||
$machine->sendKeys("alt-shift-ret");
|
$machine->sendKeys("alt-shift-ret");
|
||||||
$machine->waitForWindow(qr/machine.*alice/);
|
$machine->waitForWindow(qr/machine.*alice/);
|
||||||
|
|
Loading…
Reference in a new issue