From bcaf2f6dbe5369f4835cfff31639f07b70bcb670 Mon Sep 17 00:00:00 2001 From: aszlig Date: Thu, 22 Jun 2017 06:25:31 +0200 Subject: nixos/tests/sddm: Fix detecting login screen Tesseract seems to have a hard time detecting the "ALICE FOOBAR" text, so let's match on "Select your user and enter password" instead. Ran the test on x86_64-linux and it now succeeds. Signed-off-by: aszlig --- nixos/tests/sddm.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nixos/tests/sddm.nix') diff --git a/nixos/tests/sddm.nix b/nixos/tests/sddm.nix index 82be9bc1d727..1ce2b8157842 100644 --- a/nixos/tests/sddm.nix +++ b/nixos/tests/sddm.nix @@ -24,7 +24,7 @@ let user = nodes.machine.config.users.extraUsers.alice; in '' startAll; - $machine->waitForText(qr/ALICE/); + $machine->waitForText(qr/select your user/i); $machine->screenshot("sddm"); $machine->sendChars("${user.password}\n"); $machine->waitForFile("/home/alice/.Xauthority"); -- cgit 1.4.1