diff options
author | rnhmjoj <rnhmjoj@inventati.org> | 2022-04-27 17:50:12 +0200 |
---|---|---|
committer | rnhmjoj <rnhmjoj@inventati.org> | 2022-04-27 20:50:53 +0200 |
commit | 3d4b962c678b4f669130fe78a6e8e5ca302effd0 (patch) | |
tree | c93f546f3b7d150151b591dbb695438bda3b4605 /nixos/tests/custom-ca.nix | |
parent | 3f676b98049a2dc890023aac02758c604e160b8d (diff) |
nixos/tests/custom-ca: make more reliable
Midori sometime fails to display the page, even if it's supposedly fully loaded. Reloading with ctrl-r fixes it.
Diffstat (limited to 'nixos/tests/custom-ca.nix')
-rw-r--r-- | nixos/tests/custom-ca.nix | 2 |
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 |