3
0
Fork 0
forked from mirrors/nixpkgs

nixos/tests/gnome3: wait for gnome shell to be started, for a better screenshot

This commit is contained in:
Luca Bruno 2015-09-30 18:29:08 +02:00
parent d8c1284d81
commit c6d77eb0bf

View file

@ -28,7 +28,8 @@ import ./make-test.nix ({ pkgs, ...} : {
$machine->succeed("su - alice -c 'DISPLAY=:0.0 gnome-terminal &'");
$machine->waitForWindow(qr/Terminal/);
$machine->sleep(20);
$machine->mustSucceed("timeout 60 bash -c 'journalctl -f|grep -m 1 \"GNOME Shell started\"'");
$machine->sleep(10);
$machine->screenshot("screen");
'';
})