nixosTests.xmonad: fix

This commit is contained in:
Jan Tojnar 2019-12-13 17:16:59 +01:00
parent 6029b1f0b2
commit 919297f369
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4

View File

@ -27,13 +27,13 @@ import ./make-test-python.nix ({ pkgs, ...} : {
machine.wait_for_x()
machine.wait_for_file("${user.home}/.Xauthority")
machine.succeed("xauth merge ${user.home}/.Xauthority")
machine.send_chars("alt-ctrl-x")
machine.send_key("alt-ctrl-x")
machine.wait_for_window("${user.name}.*machine")
machine.sleep(1)
machine.screenshot("terminal")
machine.wait_until_succeeds("xmonad --restart")
machine.sleep(3)
machine.send_chars("alt-shift-ret")
machine.send_key("alt-shift-ret")
machine.wait_for_window("${user.name}.*machine")
machine.sleep(1)
machine.screenshot("terminal")