nixos/tests/gnome3: wait for gnome shell to be started, for a better screenshot
This commit is contained in:
parent
d8c1284d81
commit
c6d77eb0bf
@ -28,7 +28,8 @@ import ./make-test.nix ({ pkgs, ...} : {
|
|||||||
|
|
||||||
$machine->succeed("su - alice -c 'DISPLAY=:0.0 gnome-terminal &'");
|
$machine->succeed("su - alice -c 'DISPLAY=:0.0 gnome-terminal &'");
|
||||||
$machine->waitForWindow(qr/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");
|
$machine->screenshot("screen");
|
||||||
'';
|
'';
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user