summary refs log tree commit diff
path: root/nixos/tests/pantheon.nix
diff options
context:
space:
mode:
authorworldofpeace <worldofpeace@protonmail.ch>2019-11-26 09:24:10 -0500
committerworldofpeace <worldofpeace@protonmail.ch>2019-11-26 09:24:42 -0500
commit406efdb9346bc309c4a97d322bb4170a69de0c5e (patch)
tree4e08118da86a13fd7e434d33790bb104e250436c /nixos/tests/pantheon.nix
parent636a1352828751a8a8561cd7b7f5bd6adf9a6ba5 (diff)
downloadnixpkgs-406efdb9346bc309c4a97d322bb4170a69de0c5e.tar
nixpkgs-406efdb9346bc309c4a97d322bb4170a69de0c5e.tar.gz
nixpkgs-406efdb9346bc309c4a97d322bb4170a69de0c5e.tar.bz2
nixpkgs-406efdb9346bc309c4a97d322bb4170a69de0c5e.tar.lz
nixpkgs-406efdb9346bc309c4a97d322bb4170a69de0c5e.tar.xz
nixpkgs-406efdb9346bc309c4a97d322bb4170a69de0c5e.tar.zst
nixpkgs-406efdb9346bc309c4a97d322bb4170a69de0c5e.zip
nixosTests.pantheon: don't check bob username
From looking at
* https://hydra.nixos.org/build/107447356
it appears the subtest fails at this exact step.
OCR in the testing driver has been notoriously
flaky, so let's just match alice's user description.
This does have the downside of not verifying the
appearence of other user cards, which was an
issue with the greeter in the past.
Diffstat (limited to 'nixos/tests/pantheon.nix')
-rw-r--r--nixos/tests/pantheon.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/nixos/tests/pantheon.nix b/nixos/tests/pantheon.nix
index 6ff19be1bb9..c0434f20754 100644
--- a/nixos/tests/pantheon.nix
+++ b/nixos/tests/pantheon.nix
@@ -28,7 +28,8 @@ import ./make-test-python.nix ({ pkgs, ...} :
 
     with subtest("Test we can see usernames in elementary-greeter"):
         machine.wait_for_text("${user.description}")
-        machine.wait_for_text("${bob.description}")
+        # OCR was struggling with this one.
+        # machine.wait_for_text("${bob.description}")
         machine.screenshot("elementary_greeter_lightdm")
 
     with subtest("Login with elementary-greeter"):