diff options
author | aszlig <aszlig@redmoonstudios.org> | 2015-08-20 12:55:23 +0200 |
---|---|---|
committer | aszlig <aszlig@redmoonstudios.org> | 2015-08-20 12:55:23 +0200 |
commit | fbfdafc2c98d168ae0af7202b8d3c752184c11b0 (patch) | |
tree | fd55a3c9cb3fa1012e46ff282733c9a598fad3c4 /nixos | |
parent | ac8f2391f322e5c058dd08b8911d18c1e19fbcd9 (diff) | |
parent | f7771131b6ff0eaa2bfb5ed969a98cd7cc78220b (diff) | |
download | nixpkgs-fbfdafc2c98d168ae0af7202b8d3c752184c11b0.tar nixpkgs-fbfdafc2c98d168ae0af7202b8d3c752184c11b0.tar.gz nixpkgs-fbfdafc2c98d168ae0af7202b8d3c752184c11b0.tar.bz2 nixpkgs-fbfdafc2c98d168ae0af7202b8d3c752184c11b0.tar.lz nixpkgs-fbfdafc2c98d168ae0af7202b8d3c752184c11b0.tar.xz nixpkgs-fbfdafc2c98d168ae0af7202b8d3c752184c11b0.tar.zst nixpkgs-fbfdafc2c98d168ae0af7202b8d3c752184c11b0.zip |
Merge pull request #9263 from @dezgeg.
This looks for the window title instead of OCRing the clock from the IceWM panel. Of course, this has the drawback, that whenever IceWM is started it doesn't necessarily mean that the panel is also visible at that time, so we might want to drop the screenshot of the "session" as well.
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/tests/lightdm.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/lightdm.nix b/nixos/tests/lightdm.nix index b355081ffd6..67bd395be06 100644 --- a/nixos/tests/lightdm.nix +++ b/nixos/tests/lightdm.nix @@ -22,7 +22,7 @@ import ./make-test.nix ({ pkgs, ...} : { $machine->waitForText(qr/${user.description}/); $machine->screenshot("lightdm"); $machine->sendChars("${user.password}\n"); - $machine->waitForText(qr/^\d{2}(?::\d{2}){2} (?:AM|PM)$/m); + $machine->waitForWindow("^IceWM "); $machine->screenshot("session"); ''; }) |