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>
This commit is contained in:
parent
4007ee974c
commit
bcaf2f6dbe
1 changed files with 1 additions and 1 deletions
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue