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>
release-18.03-flake
aszlig 2017-06-22 06:25:31 +02:00
parent 4007ee974c
commit bcaf2f6dbe
No known key found for this signature in database
GPG Key ID: 1DE8E48E57DB5436
1 changed files with 1 additions and 1 deletions

View File

@ -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");