summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorworldofpeace <worldofpeace@protonmail.ch>2019-11-09 16:06:19 -0500
committerworldofpeace <worldofpeace@protonmail.ch>2019-11-25 11:54:37 -0500
commita60daae73309a8b57df68b272a285643debd711a (patch)
treeb7135c8b482537ec7cde96ca51ffce6ea951ef34 /nixos
parente15c4e48a217544b7e543d2f9bb5f49ec71723b5 (diff)
downloadnixpkgs-a60daae73309a8b57df68b272a285643debd711a.tar
nixpkgs-a60daae73309a8b57df68b272a285643debd711a.tar.gz
nixpkgs-a60daae73309a8b57df68b272a285643debd711a.tar.bz2
nixpkgs-a60daae73309a8b57df68b272a285643debd711a.tar.lz
nixpkgs-a60daae73309a8b57df68b272a285643debd711a.tar.xz
nixpkgs-a60daae73309a8b57df68b272a285643debd711a.tar.zst
nixpkgs-a60daae73309a8b57df68b272a285643debd711a.zip
nixosTests.pantheon: check for bob description
Diffstat (limited to 'nixos')
-rw-r--r--nixos/tests/pantheon.nix7
1 files changed, 4 insertions, 3 deletions
diff --git a/nixos/tests/pantheon.nix b/nixos/tests/pantheon.nix
index 398d7c8e731..ee57200e8a8 100644
--- a/nixos/tests/pantheon.nix
+++ b/nixos/tests/pantheon.nix
@@ -22,18 +22,19 @@ import ./make-test-python.nix ({ pkgs, ...} :
 
   testScript = { nodes, ... }: let
     user = nodes.machine.config.users.users.alice;
+    bob = nodes.machine.config.users.users.bob;
   in ''
     # Wait for display manager to start
     machine.wait_for_unit("display-manager.service")
 
-    # Test we can see username in elementary-greeter
+    # Test we can see usernames in elementary-greeter
     machine.wait_for_text("${user.description}")
+    machine.wait_for_text("${bob.description}")
     machine.screenshot("elementary_greeter_lightdm")
 
     # Log in with elementary-greeter
     machine.send_chars("${user.password}\n")
-    machine.wait_for_unit("default.target", "${user.name}")
-    machine_wait_for_x()
+    machine.wait_for_x()
     machine.wait_for_file("${user.home}/.Xauthority")
     machine.succeed("xauth merge ${user.home}/.Xauthority")