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.
This commit is contained in:
rnhmjoj 2022-04-27 17:50:12 +02:00
parent 3f676b9804
commit 3d4b962c67
No known key found for this signature in database
GPG key ID: BFBAF4C975F76450

View file

@ -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