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.
main
rnhmjoj 2 years ago
parent 3f676b9804
commit 3d4b962c67
No known key found for this signature in database
GPG Key ID: BFBAF4C975F76450
  1. 2
      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

Loading…
Cancel
Save