forked from mirrors/nixpkgs
Merge pull request #51792 from hedning/fix-i3wm-test
nixos/tests/i3wm: fix terminal title (test is broken on master)
This commit is contained in:
commit
b0a4013e52
|
@ -33,7 +33,7 @@ import ./make-test.nix ({ pkgs, ...} : {
|
|||
|
||||
$machine->succeed("su - alice -c 'DISPLAY=:0.0 gnome-terminal &'");
|
||||
$machine->succeed("xauth merge ~alice/.Xauthority");
|
||||
$machine->waitForWindow(qr/Terminal/);
|
||||
$machine->waitForWindow(qr/alice.*machine/);
|
||||
$machine->succeed("timeout 900 bash -c 'while read msg; do if [[ \$msg =~ \"GNOME Shell started\" ]]; then break; fi; done < <(journalctl -f)'");
|
||||
$machine->sleep(10);
|
||||
$machine->screenshot("screen");
|
||||
|
|
|
@ -28,7 +28,7 @@ import ./make-test.nix ({ pkgs, ...} : {
|
|||
$machine->waitForFile("/home/alice/.config/i3/config");
|
||||
$machine->sleep(2);
|
||||
$machine->sendKeys("alt-ret");
|
||||
$machine->waitForWindow(qr/machine.*alice/);
|
||||
$machine->waitForWindow(qr/alice.*machine/);
|
||||
$machine->sleep(2);
|
||||
$machine->screenshot("terminal");
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue