Skip to content

Commit bcaf2f6

Browse files
committedJun 22, 2017
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 <aszlig@redmoonstudios.org>
1 parent 4007ee9 commit bcaf2f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎nixos/tests/sddm.nix

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ let
2424
user = nodes.machine.config.users.extraUsers.alice;
2525
in ''
2626
startAll;
27-
$machine->waitForText(qr/ALICE/);
27+
$machine->waitForText(qr/select your user/i);
2828
$machine->screenshot("sddm");
2929
$machine->sendChars("${user.password}\n");
3030
$machine->waitForFile("/home/alice/.Xauthority");

0 commit comments

Comments
 (0)
Please sign in to comment.