diff --git a/nixos/tests/lightdm.nix b/nixos/tests/lightdm.nix index b355081ffd67..67bd395be064 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"); ''; })