git.iko.soy/typeable/nixpkgs
on master help sign in
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>

commitbcaf2f6dbe5369f4835cfff31639f07b70bcb670 authoraszlig <aszlig@redmoonstudios.org> dateThu 22 Jun 2017, 06:25 (9 years ago) parent4007ee9
1 file changed+1−1
nixos/tests/sddm.nix+1−1
nixos/tests/sddm.nix+1−1
@@ -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");