about summary refs log tree commit diff
path: root/nixos/tests/custom-ca.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/tests/custom-ca.nix')
-rw-r--r--nixos/tests/custom-ca.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/tests/custom-ca.nix b/nixos/tests/custom-ca.nix
index 91d80dc0dea16..8e91bd3eead2b 100644
--- a/nixos/tests/custom-ca.nix
+++ b/nixos/tests/custom-ca.nix
@@ -168,6 +168,8 @@ let
               "alice", f"{command} https://good.example.com >&2 &"
           )
           wait_for_window_as("alice", "${browser}")
+          machine.sleep(4)
+          execute_as("alice", "xdotool key ctrl+r")  # reload to be safe
           machine.wait_for_text("It works!")
           machine.screenshot("good${browser}")
           execute_as("alice", "xdotool key ctrl+w")  # close tab